Jump to content

How do I keep updating Runtime in my GUI?


CT83
 Share

Recommended Posts

I have a text field in my scripts gui which displays the current runtime. I usually update it using  a function, in the script, but i was wondering if there is any other way to keep the Runtime running without having to call the runtime function again and again and while my script is carrying out something else and running other functions. I mean autoit does'nt support multithreading does it?

Link to comment
Share on other sites

No, but you can register an AdLibRegister function which can start automatically, and when it ends, your script continues its job.

EDIT: also, there is another interesting function that uses callback: _Timer_SetTimer

Edited by j0kky
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...