07-11-2020, 05:46 AM
If need a trigger, try accessible object triggers. Maybe the program generates an event when text changes.
Or create macro that waits for non-empty text of the text field. Example:
Macro Macro2927
In this example, the text field is: Chrome -> QM forum -> Search.
Or create macro that waits for non-empty text of the text field. Example:
Macro Macro2927
int w=win("Trigger when text field filled - Google Chrome" "Chrome_WidgetWin_1")
Acc a.Find(w "PUSHBUTTON" "Search" "" 0x3001 0 0 "previous")
str s=a.Value
int wasBlank=s.len=0
rep
,1
,s=a.Value
,;out s
,int isBlank=s.len=0
,if isBlank!=wasBlank
,,wasBlank=isBlank
,,if !isBlank
,,,out "TRIGGER"
,,