Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Do smth every X amount of Time

$
0
0
Hello

For example i have a script like this:
[ autoit ]      
While 1 Mousemove(0,0, 10) Mousemove(10,10,10) Wend

What i want to do is, to make the script break this While loop and Mousemove(20,20,10) every X amount of time, (Let's say every 60 seconds).
I mean even if the while loop is not ended so, the script has just moved the mouse to 0,0 coordinates (Mousemove(0,0,10) but (60 seconds) has passed so script won't move mouse to 10,10 coordinates (Mousemove(10,10,10) and will move mouse to 20,20 coordinates and the start the while loop from the begginning.

Thanks!

Viewing all articles
Browse latest Browse all 12506

Trending Articles