Re: quit all visible applications
Re: quit all visible applications
- Subject: Re: quit all visible applications
- From: Håvard Graudo <email@hidden>
- Date: Mon, 2 May 2005 15:16:26 +0200
if Iwant to quit all running applications (without quitting background
processes), how would I make the distinction in an Applescript? thanks.
I think you could use some of this as a starting
point. It will not quit classic nor Finder. You
may or may not want the 'frontmost is false'.
Håvard
tell application "System Events" to set andreApp
to name of every application process whose
(visible is true and frontmost is false and name
is not "Finder")
repeat with prog in andreApp
ignoring application responses
tell application (prog as text) to quit
end ignoring
end repeat
_______________________________________________
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