Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Too fast
#1
Can someone help me?

My macro runs too quick. Is their a better way to wait until a Dialog box is active before I try to click a button than.

wait 0 WA id(12321 "Display Properties")


:oops:

Thanks
#2
wait 0 WA id(12321 "Display Properties")

waits until you set focus to button with id 12321 in "Display Properties" window. But, if the button already has focus, the macro does not wait until you click. Maybe this will be better:

wait 0 WA "Display Properties"
wait 0 ML ;;wait for mouse click anywhere

or this:

wait 0 WA "Display Properties"
ifa id(12321 "Display Properties")
,key T
wait 0 WA id(12321 "Display Properties")


Forum Jump:


Users browsing this thread: 1 Guest(s)