Re: tell application "<some application>" to quit...
Re: tell application "<some application>" to quit...
- Subject: Re: tell application "<some application>" to quit...
- From: Andy Wylie <email@hidden>
- Date: Mon, 03 Sep 2001 13:02:11 +1200
on 3/9/01 9:00 AM, Bob.Kalbaugh at email@hidden wrote:
>
At any rate, all of this leads me back to the statement I made in my
>
original post. I don't think there is any easy *universal* way to quit
>
applications. Each one is different. But please, somebody prove this
>
otherwise.
I've been using a simple universal quit all run from OSA Menu in Finder
for at least a year and it's never failed but then I don't have Quark... for
the sake of a few lines why not deal with it?
-------------------
tell application "Finder" to ,
set apz to name of application file of every process as list
if "iTunes" is in apz then set sound volume to 1 with large range
repeat with i in reverse of apz
try
tell application i to activate
tell application i to quit
on error m number n
error {m, n}
end try
end repeat
-------------------
this is activated by a \Q+O keystroke mapped to my Intellimouse wheel down +
fwd , +O to get around OSA Menu's sometime inability to get frontmost app
and avoid confusion with \Q global quitter.
Quarkers don't post on the sabbath?___ Andy