Date: Fri, 11 Nov 2005 11:37:55 -0800
From: Christopher Nebel <email@hidden>
Subject: Re: Quit Classic
To: AppleScript Users <email@hidden>
Message-ID: <email@hidden">email@hidden>
Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed
On Nov 11, 2005, at 8:25 AM, Yvan KOENIG wrote:
Le 11 nov. 2005, à 16:44, Bernard Azancot a écrit :
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
do shell script "killall TruBlueEnvironment"
"kill" and its easier-to-use cousin "killall" is the nuclear option
for quitting -- it kills the application right there, bypassing any
cleanup, document saving, what have you. Sometimes this is what you
want, but usually not. Just tell the application to quit.
--Chris Nebel
AppleScript and Automator Engineering