I'm trying to loop a macro and it works well, but I can't make it stop by pressing escape.
Code: Select all
Loop, 3
{
CoordMode, Mouse, Screen
Sleep, 1203
MouseMove, 1644, 938
Send, {LButton}
}tnx
Code: Select all
Loop, 3
{
CoordMode, Mouse, Screen
Sleep, 1203
MouseMove, 1644, 938
Send, {LButton}
}Code: Select all
Loop, 3
{
CoordMode, Mouse, Screen
Sleep, 1203
MouseMove, 1644, 938
Send, {LButton}
Sleep, 10
if GetKeyState("Esc","P")
break
}