angel83 Posted April 5, 2024 Posted April 5, 2024 Hello, I hope you are well. Some way to stop the stopwatch when closing notepad.exe. When you open notepad.exe again, it continues the timer. where did he stay? please timer notepad.au3
angel83 Posted April 5, 2024 Author Posted April 5, 2024 AdlibRegister("Clock", 1000) HotKeySet("{esc}", "exit1") $seconds = 240 GUICreate("Timer", 181, 50) GUISetBkColor(0x000000) GUICtrlCreateLabel("00:00:00", 10, 0, 200, 70) GUICtrlSetFont ( -1, 30, 800 ) GUICtrlSetBkColor(-1, 0x000000) GUICtrlSetColor(-1, 0xFFFFFF) GUISetState (@SW_SHOW) run("notepad.exe") While True $minutes = Mod($seconds/60, 60) $hours = $seconds/3600 $display = StringFormat("%02i:%02i:%02i", $hours, $minutes, Mod($seconds, 60)) WinSetOnTop("Timer", "", 1) WEnd Func clock() If $seconds > 0 Then $seconds -= 1 EndIf GUICtrlSetData(-1, $display) EndFunc Func exit1() exit EndFunc
Developers Jos Posted April 5, 2024 Developers Posted April 5, 2024 (edited) And this all is ofcourse totally different than your previous thread which I closed since you solved it and never gave any clear answer? EVERYBODY ELSE: PLEASE STAY OUT FOR NOW! Anwers given are hidden for now and will return when we clear the thread. Edited April 5, 2024 by Jos 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.
angel83 Posted April 6, 2024 Author Posted April 6, 2024 I don't know how to publish the solution to: Disappearing countdown timer in OpenGL. I will post my answer here. of course jos. an apology to everyone. The problem was in the programs that use OpenGL, we only changed OpenGL for another and the graphics cards that only use OpenGL, I only changed it for another more current one. With that I solved the problem.
Developers Jos Posted April 6, 2024 Developers Posted April 6, 2024 I hope you really did, as you again haven't really answered me. So this thread is now also closed, and please don't open another one on this topic. 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.
Recommended Posts