02-11-2006, 08:20 AM
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")
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")
