Re: Quit Classic
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>) |