Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to restore a hidden window in system tray?
#2
Capture the tray icon using the 'Find accessible object' dialog from the floating toolbar. Then click or double click. Example:

Code:
Copy      Help
Acc a=acc("Quick Macros" "PUSHBUTTON" win("" "Shell_TrayWnd") "ToolbarWindow32" "" 0x1001)
a.Mouse(4)

Or, use the 'Window' dialog (window/control actions) and capture the window while it is not hidden. However this will not work if the window does not exist when "hidden".

act win("name" "class")

Or, try to run the program. Often instead of starting second instance it just shows the hidden window. Or it may have a command line parameter for this.

run "theprogram.exe"


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)