AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Multiple timer utility4/13/2023 Gui, %GN%:Add, Picture, w%IW% h%IH% Icon%IN%, % Image Gui, %GN%:-Caption ToolWindow AlwaysOnTop -Border WinGetPos, OtherX, OtherY = change this to a loop for all open notifications?ÄetectHiddenWindows %Prev_DetectHiddenWindows% If (WinExist("NotifyGui")) = find all Notifications from ALL scripts, for placement ![]() Prev_DetectHiddenWindows := A_DetectHiddenWindows thanks to Rhys/engunneer/HugoV/Forum Posters Gui, Submit Save each control's contents to its associated variable. ![]() IniWrite ?_SoundFile%, ?_IniFile%, Main, SoundFile IniWrite ?_PlaySound%, ?_IniFile%, Main, PlaySound IniWrite % GetDurationInSec(), ?_IniFile%, Main, Duration GuiControlGet cd_SoundFile, cd_SoundFileEdit GuiClose: Close window, save settings to INI file Run %comspec% /c %A_ScriptDir%\SmartCountDownTimer.exe Run, %A_ScriptDir%\SmartCountDownTimer.exe Return Hours * 3600 Minutes * 60 Seconds GuiControl, cd_DurationText, % "Duration: " GetDurationInSec() " seconds" GuiControlGet cd_SoundFile, cd_SoundFileEdit Get filename GuiControl, cd_SoundFileEdit, ?_SoundFile% Gosub PlayFinishSound Let me hear that sound!įileSelectFile cd_SoundFile, 1, ?_SoundFile% Open file selection dialog GuiControlGet cd_PlaySound, cd_PlaySoundCheckBox NotifyID := Notify("Countdown Completed !",yourmessage,0) = lasts until clicked Yourmessage = %yourmessage% (Click me to dismiss) If cd_ButtonCaption =
0 Comments
Read More
Leave a Reply. |