• 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: Joe Kelly <email@hidden>
  • Date: Fri, 21 Dec 2001 12:11:48 -0800

You can look for error # -128 in an error handler, and just ignore it.

Mark Butcher wrote:
>
> 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
> _______________________________________________
> applescript-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: RE: <<data>> instead of useful info
  • Next by Date: Re: [OSX] AppleScript Studio, la tornade arrive.
  • Previous by thread: Re: Track if user hits CANCEL on popup
  • Next by thread: Re: Doing a boolean on a list [Correction]
  • Index(es):
    • Date
    • Thread