jlorenz1 0 Posted January 12, 2004 This function works properly: $begin = TimerStart() $dif = TimerStop($begin) MsgBox(4096,"Time Difference",$dif) But is it possible to display the running time without stopping the timer? I tried several things without success. Thanks in advance! Johannes from Germany Johannes LorenzBensheim, Germanyjlorenz1@web.de[post="12602"]Highlightning AutoIt Syntax in Notepad++ - Just copy in your Profile/application data/notepad++[/post] Share this post Link to post Share on other sites
Jos 2,168 Posted January 12, 2004 Johannes,This will show the splashtext screen and update it ....$begin = TimerStart()$W_Title = "Progress Window"while 1 Showstatus("Running for:" & TimerStop($begin)) sleep(1000)wendFunc ShowStatus($msg) if Not WinExists($W_Title,"") then SplashTextOn($W_Title,$msg,300,100,1,1,6,"Arial",10,600) else ControlSetText($W_Title,"","Static1",$msg) EndIfEndFunc SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Share this post Link to post Share on other sites
Jon 1,009 Posted January 12, 2004 But is it possible to display the running time without stopping the timer?TimerStop doesn't actually "stop" the timer it just gives you the difference of the current time and the "base" time. So you can keep using TimerStop with the original return value of TimerStart. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Share this post Link to post Share on other sites