10-18-2007, 07:54 AM
I would like to restore a window that hidden in system tray but not know how to get the window handle. Is it possible to active a hidden window in system tray?
Thank you!
Thank you!
How to restore a hidden window in system tray?
|
10-18-2007, 07:54 AM
I would like to restore a window that hidden in system tray but not know how to get the window handle. Is it possible to active a hidden window in system tray?
Thank you!
10-18-2007, 08:10 AM
Capture the tray icon using the 'Find accessible object' dialog from the floating toolbar. Then click or double click. Example:
Acc a=acc("Quick Macros" "PUSHBUTTON" win("" "Shell_TrayWnd") "ToolbarWindow32" "" 0x1001) 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" |
« Next Oldest | Next Newest »
|