Wberg Posted August 2, 2009 Share Posted August 2, 2009 Hi i was wondering how to make a tooltip or so show a countdown when a sleep start... For instance... In my script i got sleep(3600)... Now obviusly i could make it ToolTip("3600", 0, 0) sleep(1000) ToolTip("3599", 0, 0) sleep(1000) ToolTip("3598", 0, 0) but there has to be another way haha >_< Link to comment Share on other sites More sharing options...
Info Posted August 2, 2009 Share Posted August 2, 2009 (edited) Timer: $TInit = TimerInit() While 1 ToolTip(Int(TimerDiff($TInit)/1000)) WEnd Stopper: $Stopper = 10000 Do Sleep(10) $Stopper -= 10 ToolTip(Int($Stopper/1000)) Until $Stopper = 0 MsgBox(64,"Done!",":)") Edited August 2, 2009 by Info Link to comment Share on other sites More sharing options...
Wberg Posted August 2, 2009 Author Share Posted August 2, 2009 (edited) thnx mate but this does not work for me... how can i put in a tooltip which just starts counting up from 0 and keeps going ? that way i can just write... tooltip("Whatever") sleep(38812387627) [sumthing to stop the timer again] Edited August 2, 2009 by Wberg Link to comment Share on other sites More sharing options...
somdcomputerguy Posted August 2, 2009 Share Posted August 2, 2009 I use tooltip in Do Until loop in a countdown timer.. Does this help? I'm not too good at posting example code.. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. 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