Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trigger - Window Minimized
#1
Hi Gintaras,
I was wondering if there was a direct way to trigger upon a window being minimized. In the window trigger properties, I only see Acive/Inactive/Destroyed/Visible, etc...
The reason I need this is that there is a certain window I am working with that doesn't allow me to "hang" toolbars on it in the usual fashion, which would usually take care of the window min/max issues.
I also am hanging a dialog with many toolbar-like functions on this window - but hanging is done through window appear/disappear type triggers rather than intrinsic hanging.
It's an okay workaround but just looking to patch it up better with the minimize trigger.

Thanks,
Stuart
#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"
#3
awesome - Thanks!!!

Stuart


Forum Jump:


Users browsing this thread: 1 Guest(s)