I just want to make a script with 2 hotkeys. The first one should press a button and then jump to a different hotkey within the script. That hotkey then automatically starts the designated loop. This works fine, however, I cannot press the first hotkey again as long as the loop is active. Is there a way to fix that?
Code: Select all
$1::
sendinput {F1}
sleep 500
Gosub r
Send {!}
return
r::
Stop := 0
loop {
sendinput {F2}
sleep 500
} until Stop