Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FindTrayIcon in EXE
#2
The function returns toolbar control button id. If you need button index, can use acc instead. However it is not always the same as button id, especially on Windows 7.

Macro Macro1275
Code:
Copy      Help
int w1=id(1504 win("" "Shell_TrayWnd"))

out FindTrayIcon(w1 "Quick*")

Acc a=acc("Quick*" "PUSHBUTTON" w1 "ToolbarWindow32" "" 0x1001)
out a.elem-1


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)