ive gotten them to go from one to the other once and then no further. the one below allows to go from one to the other but must double tap. if tapped too quickly, it gets stuck. this leads me to believe its getting stuck in the loop/delay. i dont know. ive tried a few different menial methods.. no avail.
basically looking to switch between loops. any helps or examples welcome.
thank you all.
Code: Select all
$a::
b = 1
Loop
{
if a = 1
break
Send {1}
Sleep 1000
}
a = 0
return
$b::
a = 1
Loop
{
if b = 1
break
Send {2}
Sleep 1000
}
b = 0
return