Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to handle exeptions
#2
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.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)