Re: Command to exit script immediately?
Re: Command to exit script immediately?
- Subject: Re: Command to exit script immediately?
- From: John Delacour <email@hidden>
- Date: Thu, 6 Mar 2003 19:16:17 +0000
- Mac-eudora-version: 6.0a9
At 10:50 am -0500 6/3/03, McDaniel, Todd wrote:
Is there a way to exit a script immediately. Say...
Display dialog "Hello" with button {"Okay"}
--What command would exit the script right here?
Display dialog "Goodbye"
I keep thinking I rember hearing about a command I could put between
those two display dialogs that would exit the script after the first
I replied to this on the other list.
You can either write the line
return
between the two, or use return with the dialog as a parameter:
tell me to return (display dialog "
Goodbye" buttons {" "} with icon 0 giving up after 1)
JD
_______________________________________________
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.