lee321987 Posted September 6, 2022 Share Posted September 6, 2022 (edited) Run this script and hover over the tray icon. Func _overTray() should never fire but it does many times: #include <TrayConstants.au3> Opt("TrayOnEventMode",1) TraySetOnEvent($TRAY_EVENT_MOUSEOVER, "_overTray") TraySetOnEvent($TRAY_EVENT_MOUSEOVER, "") While 1 Sleep(100) WEnd Func _overTray() ConsoleWrite(@SEC & ' ') Sleep(1000) EndFunc Edited September 6, 2022 by lee321987 Link to comment Share on other sites More sharing options...
kurtykurtyboy Posted September 6, 2022 Share Posted September 6, 2022 Your script as written works fine for me. I'm using v3.3.16.0 If I run the script, the _overTray function is never called. If I comment out the 2nd TraySetOnEvent then the function fires as expected. lee321987 1 Link to comment Share on other sites More sharing options...
kurtykurtyboy Posted September 6, 2022 Share Posted September 6, 2022 Looks like this was [fixed] a while back. What version are you using? lee321987 1 Link to comment Share on other sites More sharing options...
lee321987 Posted September 6, 2022 Author Share Posted September 6, 2022 You're right -- I just upgraded from 3.3.14.5, and it works right now. Sorry. Thank you! 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