Re: Ending/Aborting/Exiting A Script?
Re: Ending/Aborting/Exiting A Script?
- Subject: Re: Ending/Aborting/Exiting A Script?
- From: Malcolm Fitzgerald <email@hidden>
- Date: Mon, 13 Mar 2006 19:06:06 +1100
On 13/03/2006, at 6:53 PM, chuck5566 wrote:
I"ve been looking tonight, but haven't been able to find a clean way
to end the execution of a script.
set fromtext to the text returned of (display dialog "Find what:"
default answer "" with title "Track Name Find/Replace")
if fromtext is "" then return
you can always return a value which is handy in try blocks
try
err(param)
err()
on error m number n
return {m, n}
end try
to err()
return -128
end err
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden