toggle:=0
CoordMode, Mouse, Screen
F8::
toggle!:=toggle
If toggle
{
SetTimer, Clicker, 1000
SetTimer, Mover, 7100
MouseGetPos, X, Y ; Not in the Mover Timer because the drift could be caused by resetting these values constantly, but the issue you describe isn't fully normal
}
If !toggle
{
SetTimer, Clicker, Off
SetTimer, Move, Off
}
return
Clicker:
Click
return
Mover:
MouseMove, 0, 20,,R
Sleep 2000
MouseMove, %X%, %Y%
return
How does this work for you?
Error at line 5.
Line Text: toggle!:=toggle
Error: This line does not contain a recognized action.
The program will exit.