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

Question about repeating the same command over and over

$
0
0
I used this code


Local $i = 0
While $i <= 1100
MouseClick("left", 2873, 459, 1, 4)
sleep(10000)
WEnd

According to my calculations this command should run 1101 times.  There is a 10 second delay so the script should run for a little over 3 hours right?

Well when I run it, it actually lasts over twice that long.  What am I missing?

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>