• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to quit an applescript this way?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Quark Data Merge
  • Next by Date: Scripting Wait Times
  • Previous by thread: Re: Filemaker runtime apps
  • Next by thread: Re: How to quit an applescript this way?
  • Index(es):
    • Date
    • Thread