I have a working script that presses F1-F8 whenever I activate it with the F9 key. However, I want to add a 2.5 second delay between each of the [F1-F8] keys being pressed. I'm a newbie to scripting, and I'm not sure how to insert the time delay properly; I tried adding "SetKeyDelay, 2500, 0" just under the first line, but that just disables the script. Can anyone help?
The script without any time delay is attached below.
F9::
Loop, 8
{
Send, {RAlt, F%A_Index%}
}
Return