Hello,
I need a pause function that pauses other Functions until the User gives a Tray Command to disable it.
Func Pause()
TrayItemSetState($startitem, $TRAY_UNCHECKED)
$LogMsg = "Paused"
Tooltip("Paused.", 0, 0)
Sleep(1000)
ToolTip("")
if $Pause = False Then
$Pause = True
While $Pause = True
sleep(1000)
WEnd
elseif $Pause = True Then
$Pause = False
endif
EndFunc
The Code I have, but I doesnt work - you cannot turn the Pause off once you turned it in...
(I have Opt("TrayOnEventMo