loop toggle ahk code example
Example: toggle loop autohotkey
#MaxThreadsPerHotkey 2
YOURKEYHERE::
Toggle := !Toggle
loop
{
If not Toggle
break
YOUR CODE HERE
}
return
#MaxThreadsPerHotkey 2
YOURKEYHERE::
Toggle := !Toggle
loop
{
If not Toggle
break
YOUR CODE HERE
}
return