• 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
Re: Stopping a scipt in a Try Statment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stopping a scipt in a Try Statment


  • Subject: Re: Stopping a scipt in a Try Statment
  • From: JJ <email@hidden>
  • Date: Fri, 20 Apr 2001 09:51:09 +0200

> I am writing a Start Up Items script that attempts to select a file on the
> desktop, renames the file and places it into a folder on the hard drive. If
> the file does not exist, I use a Try Statement to catch the error and exit
> the script.
>
> The problem is, I can not figure out how to stop the script. Is there a
> command for this?
>
> Thanks,
> barton


'return'

or

'error number -128'

&, if it's an applet

'tell me to quit'


  • Follow-Ups:
    • Re: Stopping a scipt in a Try Statment
      • From: Greg Strange <email@hidden>
  • Prev by Date: Re: How to "remember" a disk alias
  • Next by Date: Re: Setting the startup disk.
  • Previous by thread: Re: Run script with parameters?
  • Next by thread: Re: Stopping a scipt in a Try Statment
  • Index(es):
    • Date
    • Thread