Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trigger - Window Minimized
#2
Look in accessible object triggers.

Macro
Trigger $a 22 0 "" "Notepad"     Help - how to add the trigger to the macro
Code:
Copy      Help
function hwnd idObject idChild
;Acc a.ObjectFromEvent(hwnd idObject idChild)
mes "Notepad minimized"

;recorded this using menu Tools -> Output -> Log -> acc...:
;120. MINIMIZESTART, WINDOW, 0
;;;;ow: class="Notepad", text="Untitled - Notepad"
;;;;ao: role=WINDOW, state=0x168000, name="Untitled - Notepad"


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)