Jump to content

[SOLVED] TraySetOnEvent($TRAY_EVENT_MOUSEOVER, "") ; Does not work


Recommended Posts

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 by lee321987
Link to post
Share on other sites
  • lee321987 changed the title to [SOLVED] TraySetOnEvent($TRAY_EVENT_MOUSEOVER, "") ; Does not work

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...