ahk togglable loop 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