I'm having a hard time figuring out how to make this loop stop when I press any key. I also want it to run again if I use the hotkey associated with the loop.
Bear in mind I'm extremely new to AHK (I built the script using Pulover Macro Creator), so please keep instructions as simple as possible
Here is the code:
Code: Select all
+^!m::
Loop:
Loop
{
Sleep, 500
Send, {End}
Sleep, 500
Click, 1163, 267 Left, 1
Sleep, 10
Sleep, 800
Send, {End}
Sleep, 500
Click, 859, 666 Left, 1
Sleep, 10
Sleep, 2000
Click, 948, 419 Left, 1
Sleep, 10
Sleep, 500
}
Return