Valuater Posted September 28, 2005 Posted September 28, 2005 it works.... but just looks messy to me $t = InputBox("Timer", " Please type in the minutes to wait") tooltip("Timer = " & $t & " Minutes",0,0);,"", 5) $begin = TimerInit() $td = $t * 60 * 1000 $n = $t * 60 *1000 While 1 $dif = TimerDiff($begin) if $dif >= $n then MsgBox(0,"Timer", "timer complete" & @CRLF & $dif) ExitLoop EndIf ; to update tooltip with no "flicker" every 10+\- seconds $tDif = $n - $dif If int($tdif) <= $td - 10000 Then $td = $td -10000 $Tdif = $tdif / 60 / 1000 tooltip("Timer = " & int($tdif) & " Minutes",0,0,"", 5) EndIf sleep(100) WEnd not the inputbox.... just after that 8)
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