Jump to content

Show live time out left time


Recommended Posts

How do you show the left time of time out time?

MsgBox(0, "Msg Title", "This window will close in: " & the time out time left & "seconds", 10)

EDIT: The MsgBox text will look like this:

This window will close in: 10 seconds

This window will close in: 9 seconds

This window will close in: 8 seconds

This window will close in: 7 seconds

This window will close in: 6 seconds

This window will close in: 5 seconds

This window will close in: 4 seconds

This window will close in: 3 seconds

This window will close in: 2 seconds

This window will close in: 1 seconds

And Close

Edited by Hello Me You
Random
Link to comment
Share on other sites

  • Moderators

Not going to happen unless you do multiple Message Boxes and time each one out in 1 second... or use a GUI that updates the label every second.

Edit:

Or use /AutoIt3ExecuteLine or /AutoIt3ExecuteScript to launch a message box and have the main script change the Control Label every 1 second. I might have done this already :whistle:

Edited by SmOke_N

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...