in between.
It is started by the hotkey Ctrl+f, and script is exited with Ctrl+o.
Can someone help me add in a hotkey to stop the (outer) loop instead of exiting the script? Preferably I would like Ctrl+f to also stop, but otherwise another hotkey, like Ctrl+g would also work for me
Code: Select all
#Requires AutoHotkey v2.0
on := False
^o::ExitApp ; Hotkey to exit script
^f:: {
Loop 1000 {
click
Sleep 3500
Loop 30 {
Click
Sleep 200
}
}
}