Re: How to quit an applescript this way?
Re: How to quit an applescript this way?
- Subject: Re: How to quit an applescript this way?
- From: kim <email@hidden>
- Date: Fri, 20 Jul 2001 08:36:09 +1200
G'day Dave
>
I have a script that reads a text file
>
and if the script reads "Cancelled"
>
without quotes of course
>
I want my script to quit running.
set cancelcheck to textnote
if cancelcheck = "Cancelled" then
return
error number -128
else
-- do whatever
end if
cheers
kim