Jump to content

Countdown timer


 Share

Recommended Posts

  • Moderators

Hi, @lordsocke we need more information to assist. What is the trigger you're looking for when you say "how long my program needs"? Are you wanting to know when it is done installing, when it has performed a certain action, when it has closed? Or are  you looking for a straight 20 minute counter? The more information you can give the better equipped we are to help.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

Ähm the program is performing an action where i´ve given a variable for the time in milliseconds. So I want a counter which takes the time in Milliseconds and is counting  down in seconds from the given Milliseconds to Zero to give the user the chance to see when the performing of my certain action is finished. So a kind of a messagebox where it say´s: "The program still needs xx:xx"

Thanks for your help

Link to comment
Share on other sites

  • Moderators

So you can use TimerInit() and TimerDiff() from the help file to translate the time into milliseconds and do your countdown. If you want to tie the timer to a specific window, look at _Timer_SetTimer in the help file.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

  • 3 months later...
On Montag, 21. März 2016 at 6:52 PM, lordsocke said:

make a little timer where it shows me how long my program will need (mostly about 20min.)

but how can I realize that? 

AutoIt has "ProgressOn" - Creates a customizable progress bar window.

Why not use this ?

-HaJo

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...