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

Loop estimated time of completion

$
0
0

Hi guys,

 

I have a loop function which takes values from one array into another array based on a number of If Then conditions.

 

The original array can be of variable size so it is not a fixed array, hence sometimes it may take a long time and sometimes it can be quick, but I'd like to have an indication of an Estimated time of completion of the function.

 

Essentially I'd like to have a GUI label that shows a countdown of estimated time of completion. E.G. Ready in XX seconds. (where XX is an accurate countdown from start of loop to end of loop in terms of time taken to complete the loop function).

 

What's the best way to do this?

 

I played around with TimerInit() and TimerDiff() but I did not achieve the desirable effect.

 

Can someone comment on this please?

 

Cheers!

 


Viewing all articles
Browse latest Browse all 12506

Trending Articles



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