Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
System Tray Trigger
#1
I am wondering whether there exists a trigger, when an icon is added to the system tray notification area, by any application.
#2
Tested on Vista and XP.
Function Macro717
Trigger $a 128 -4 1 "ToolbarWindow32" "" "Notification Area" "Shell_TrayWnd" "" 43     Help - how to add the trigger to the macro
Code:
Copy      Help
function hwnd idObject idChild
Acc a.ObjectFromEvent(hwnd idObject idChild)
out a.Name
a.Mouse

test
Macro
Trigger F12     Help - how to add the trigger to the macro
Code:
Copy      Help
AddTrayIcon "mouse.ico" "test55"
1
#3
Gintaras,

Many thanks, it works perfectly, Regards


Forum Jump:


Users browsing this thread: 4 Guest(s)