• 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: Quit Classic
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quit Classic


  • Subject: Re: Quit Classic
  • From: Christopher Nebel <email@hidden>
  • Date: Fri, 11 Nov 2005 11:35:27 -0800

On Nov 11, 2005, at 7:44 AM, Bernard Azancot wrote:

I need a very simple script to quit "Classic".
I have tried the following, but it does not work.

tell application "System Events"
quit "Environnement Classic"
end tell

Strings are not processes, nor are they applications. Strings can't quit. What this script is really doing is telling System Events to quit, with a superfluous string parameter that's ignored. If you want to quit an application, tell it to do so:


    tell application "Environnement Classic" to quit

Alternatively,

    quit application "Environnement Classic"


--Chris Nebel AppleScript and Automator Engineering

_______________________________________________
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


References: 
 >Quit Classic (From: Bernard Azancot <email@hidden>)

  • Prev by Date: Re: Text pasted into dialog box
  • Next by Date: Re: Quit Classic
  • Previous by thread: Re: Quit Classic
  • Next by thread: Re: Quit Classic
  • Index(es):
    • Date
    • Thread