Horihito Posted August 6, 2008 Share Posted August 6, 2008 here is part of the coding... I want a countdown timer of the timers $time1 - 10 to display in the label for each if then statement... What I want is the countdown timer to show hours : minutes : seconds and then once down to 0 finish the script right now I have it as a sleep timer and cant do anything while it sleeps. Also want to be able to close it by hitting esc or just hitting the X to close it while it is in the timer loop... not really sure how to do this. If $quest1 = 1 Then Sleep($time1) MouseClick("left", 1025, 140) Sleep(10000) MouseClick("Left", 1085, 300) Sleep(10000) Send ("{DOWN}") EndIf $time1 = 252000 $time2 = 792000 $time3 = 1332000 $time4 = 1872000 $time5 = 2682000 $time6 = 4032000 $time7 = 2682000 $time8 = 4842000 $time9 = 6732000 $time10 = 8082000 $labelCount Thanks in advance Ronnie Link to comment Share on other sites More sharing options...
Achilles Posted August 6, 2008 Share Posted August 6, 2008 Try TimerInit and TimerDiff. There are examples in the helpfile. For the conversion from ms to 00:00:00 you can do that with some simple math.. My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now