Re: Auto Click Button
Re: Auto Click Button
- Subject: Re: Auto Click Button
- From: Michelle Steiner <email@hidden>
- Date: Thu, 24 May 2007 14:04:02 -0700
On May 24, 2007, at 12:39 PM, Oakley Masten wrote:
Why doesn't this work?
tell application "Finder"
activate
display dialog "Well, what do you want?"
delay 2
tell application "System Events" to click "OK"
end tell
Because the script is halted at the dialog line, and never gets to
the delay line.
Regardless, it's not needed.
Use this instead:
display dialog "Well, what do you want?" giving up after 2
-- Michelle
--
There's no retirement plan for actvists
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden