jacky998877 Posted December 12, 2022 Share Posted December 12, 2022 (edited) #include <TrayConstants.au3> Opt("TrayOnEventMode",1) one() Func one() while 1 TraySetOnEvent($TRAY_EVENT_MOUSEOVER, "pause") ToolTip("one") WEnd EndFunc Func pause() While 1 TraySetOnEvent($TRAY_EVENT_MOUSEOVER, "one") ToolTip("pausing") WEnd EndFunc Edited December 12, 2022 by jacky998877 Link to comment Share on other sites More sharing options...
Solution ioa747 Posted December 12, 2022 Solution Share Posted December 12, 2022 i don't know Try plan B #include <TrayConstants.au3> Opt("TrayOnEventMode", 1) TraySetOnEvent($TRAY_EVENT_MOUSEOVER, "_MouseOnTray") Local $TrayTip While 1 ToolTip($TrayTip) Sleep(300) WEnd func _MouseOnTray() if $TrayTip = "one" Then $TrayTip = "pausing" Else $TrayTip = "one" EndIf EndFunc jacky998877 1 I know that I know nothing Link to comment Share on other sites More sharing options...
jacky998877 Posted December 12, 2022 Author Share Posted December 12, 2022 2 hours ago, ioa747 said: i don't know Try plan B #include <TrayConstants.au3> Opt("TrayOnEventMode", 1) TraySetOnEvent($TRAY_EVENT_MOUSEOVER, "_MouseOnTray") Local $TrayTip While 1 ToolTip($TrayTip) Sleep(300) WEnd func _MouseOnTray() if $TrayTip = "one" Then $TrayTip = "pausing" Else $TrayTip = "one" EndIf EndFunc this is what i am looking for ,thx Link to comment Share on other sites More sharing options...
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