I've been struggling for a while trying to toggle a script with a series of nested loops. I've tried several methods, but somehow I still can't get this thing working ("send a" and "send b" are just placeholders for code).
Any tips will be very welcome!
Code: Select all
F2::
loop {
StartA := A_TickCount
loop {
TimeA := A_TickCount - StartA
if TimeA < 1000
send a
else
break
}
StartB := A_TickCount
loop {
TimeB := A_TickCount - StartB
If TimeB < 1000
send b
else
break
}
}
return