07-06-2006, 11:59 AM
What is the application?
The exception window probably have text inside, and that text probably is control. That text can be used in window trigger. If you want to recognize the window from macro, use child function.
int w1=win("" "#32770")
int w2=child("control text" "control class" w1)
if(w2)
,out "it is exception window"
,but id(1 w1) ;;click OK
Control text can be partial.
The exception window probably have text inside, and that text probably is control. That text can be used in window trigger. If you want to recognize the window from macro, use child function.
int w1=win("" "#32770")
int w2=child("control text" "control class" w1)
if(w2)
,out "it is exception window"
,but id(1 w1) ;;click OK
Control text can be partial.