Loop estimated time of completion

Recommended Posts

mpower 22

mpower 22

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.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)