How to quit an applescript this way?
How to quit an applescript this way?
- Subject: How to quit an applescript this way?
- From: Dave Fugiel <email@hidden>
- Date: Thu, 19 Jul 2001 16:48:22 -0500
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.
This is what I've tried but it does
work and I can't find an example of
this anywhere.
set cancelcheck to textnote
if cancelcheck = "Cancelled" then quit
Can someone clue me in on what I have to do?
sorry if this seems simple.
Thanks a head of time!
Dave