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:
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"
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"
