• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Auto Click Button
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Auto Click Button (From: Oakley Masten <email@hidden>)

  • Prev by Date: Re: Rookie - Import Mail mailbox followup
  • Next by Date: Re: Rookie - Import Mail mailbox followup
  • Previous by thread: Auto Click Button
  • Next by thread: auto Click Button
  • Index(es):
    • Date
    • Thread