How can I add a pause to this script:
Code: Select all
*Space::
Loop
{
GetKeyState, state, space, P
if State = U ; The button has been released, so stop the loop.
break
; Otherwise:
Send, {SPACE}
Sleep, 1 ; i.e. 26 ms delay between clicks. Adjust this value as needed.
}
return
Much greetings