• 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: Dialog Box help.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dialog Box help.


  • Subject: Re: Dialog Box help.
  • From: Peter Bunn <email@hidden>
  • Date: Fri, 28 Mar 2008 11:13:36 -0600

Depending on how the script is called, this might get aggravating enough
to reply to:

set user_response to ""

repeat until user_response is "OK"
	tell me to activate
	display dialog "Click OK to continue..." buttons {"OK"} default button 1
giving up after 5
	set user_response to button returned of result as text
end repeat

... but can easily be defeated if the user knows to press command +
period at an appropriate moment.

If you package it as an app bundle and make it a background process, it
gets a little harder to dismiss.

Peter B.

-----

 _______________________________________________
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

  • Prev by Date: Dialog Box help.
  • Next by Date: Re: Dialog Box help.
  • Previous by thread: Re: Dialog Box help.
  • Next by thread: Setting a range using a variable
  • Index(es):
    • Date
    • Thread