03-26-2011, 10:29 AM
Can you use another function with Acc objects trigger to tell when window is minimized and from there hide the toolbar?
As shown below...
Function Function47
Trigger $a 22 0 "" "Notepad"
Use Menu > Tools > Output > Log > Acc. Trigger Events to grab Acc trigger info
Will be noted as follows for example above,
16. MINIMIZESTART, WINDOW, 0
ow: class="Notepad", text="Untitled - Notepad"
ao: role=WINDOW, state=0x168000, name="Untitled - Notepad"
As shown below...
Function Function47
Trigger $a 22 0 "" "Notepad"

function hwnd idObject idChild
out "Notepad minimized"
hid "toolbarfunction"
;...rest of code Use Menu > Tools > Output > Log > Acc. Trigger Events to grab Acc trigger info
Will be noted as follows for example above,
16. MINIMIZESTART, WINDOW, 0
ow: class="Notepad", text="Untitled - Notepad"
ao: role=WINDOW, state=0x168000, name="Untitled - Notepad"
