07-10-2014, 11:31 AM
If it's an accessible object, try accessible object trigger.
example
Macro Macro2365
Trigger $a 133 -4 "" "Edit" 1001 "" "#32770" "Font" 42 "" "Font style:"
Runs when in a Font dialog focused "Font style" edit control.
Read more about the trigger in QM help.
example
Macro Macro2365
Trigger $a 133 -4 "" "Edit" 1001 "" "#32770" "Font" 42 "" "Font style:"
;\
function hwnd idObject idChild
Acc a.FromEvent(hwnd idObject idChild)
;out a.Name
out a.Value
Read more about the trigger in QM help.