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

loop excatly every 10 seconds

$
0
0

Hi together,

 

i want to go through a Loop every 10 seconds. But depending the code inside the loop, the time differs.

 

E. g.

 Do
   Select
   Case @SEC = 0 or @SEC = 10 or @SEC = 20 or @SEC = 30 or @SEC = 40 or @SEC = 50
      ... do something ...

   end select

 Until $bHotKeyPressed

 

 How can i be sure that the loop will be done exactly on the 10'th of a second?

 

Thanks for your help!

 

Dizzy


Viewing all articles
Browse latest Browse all 12506

Trending Articles



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