• 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: Track if user hits CANCEL on popup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Track if user hits CANCEL on popup


  • Subject: Re: Track if user hits CANCEL on popup
  • From: Mark Butcher <email@hidden>
  • Date: Fri, 21 Dec 2001 11:53:20 -0800

email@hidden wrote:

Can anyone tell me if it's possible to write an AppleScript that can detect
if the user hit's the cancel button on a popup?

I'm not clear if this is an AppleScript-Users question, or an AppleScirpt Studio question. One method someone mentioned a while ago to prevent a script from exiting when the user clicked on Cancel in a display dialog, was to put

... with buttons {" Cancel", ...

in the script. Note the space before the Cancel. This way, AppleScript does not recognize the string returned, and allows you to continue with your script exicution.

HTH

MarkB


References: 
 >Track if user hits CANCEL on popup (From: email@hidden)

  • Prev by Date: Re: peer support for scripting StuffIt and InstallerMaker
  • Next by Date: Re: [ADMIN] Reminder: turn off the list before turning on your vacation responder
  • Previous by thread: Track if user hits CANCEL on popup
  • Next by thread: RE: Track if user hits CANCEL on popup
  • Index(es):
    • Date
    • Thread