I'm trying to create a script where on MButton Up, I can toggle on or off a loop script, which will do various Send's and Sleep's.
I have tried writing this with the following:
Code: Select all
MButton UP:: Toggle := Toggle ? 0 : 1 #If Toggle
1. On MButton Up, loop starts (send a every 15 seconds)
2. On another MButton Up, loop ends, and the script is paused
Please help. Thanks,