06-18-2020, 05:50 PM
Menu Tools / Output / Log /Acc trigger events.
Then add a tray icon.
Stop logging and look for useful events.
This can be useful:
2. CREATE, CLIENT, 1
ow: class="ToolbarWindow32", id=1504, text="User Promoted Notification Area"
pw: class="Shell_TrayWnd"
ao: role=PUSHBUTTON, state=0x0, name="tooltip text"
Tested on Windows 10.
You can use this event for:
- trigger "Accessible object".
- to create a wait function.
- to receive notifications while your script shows a dialog or does something else.
Read more about "Accessible object" triggers in QM Help.
To start creating code for the last two, use menu File / New / Templates / Hook / Hook_SetWinEventHook. Google for function SetWinEventHook. I can help to create code, but maybe you prefer trigger.
Then add a tray icon.
Stop logging and look for useful events.
This can be useful:
2. CREATE, CLIENT, 1
ow: class="ToolbarWindow32", id=1504, text="User Promoted Notification Area"
pw: class="Shell_TrayWnd"
ao: role=PUSHBUTTON, state=0x0, name="tooltip text"
Tested on Windows 10.
You can use this event for:
- trigger "Accessible object".
- to create a wait function.
- to receive notifications while your script shows a dialog or does something else.
Read more about "Accessible object" triggers in QM Help.
To start creating code for the last two, use menu File / New / Templates / Hook / Hook_SetWinEventHook. Google for function SetWinEventHook. I can help to create code, but maybe you prefer trigger.