RE: Track if user hits CANCEL on popup
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.