I want to start a loop of clicks with a button of the keyboard and stop it with the same button.
ex:
PRESS:F9
STARTCLICK
PRESS F9
STOP CLICK
Here is what I've done so far:
BreakTrue=05 F9:: } Loop { if (BreakTrue=1) { BreakTrue = 0 exit } click Sleep 500 } F10:: BreakTrue = 1 ;