Hi everyone
I'm pretty new to this so bear with it
At this moment I need a script that double clicks at one spot, waits for 500ms then doubleclicks at another spot, and then it should continue in a loop.
I tried so far this but it comes with an error.
HotKeySet("{esc}","LoopFlagToggle")
$loopflag = 0
Do
MouseClick($MOUSE_CLICK_PRIMARY, 211, 173, 2)
Sleep (500)
MouseClick($MOUSE_CLICK_PRIMARY, 257, 168, 2)
Sleep (500)
Until $loopflag <> 0
Func LoopFlagToggle()
$loopflag = 1
EndFunc