Re: close all programms
Re: close all programms
- Subject: Re: close all programms
- From: Andrew Oliver <email@hidden>
- Date: Fri, 28 Mar 2003 01:53:49 -0800
This script will quit every process that responds to the quit event.
Might need some additional error checking to make sure you don't tell
yourself to quit since that might cause unpredictable results.
tell application "System Events"
try
set appsList to every application process
repeat with anApp in appsList
tell process anApp to quit
end repeat
end try
end tell
On 3/28/03 1:26 AM, "J|rgen Keser" <email@hidden> wrote:
>
Hi AppleScripters,
>
>
I have an simple question. Is there a simple command that quits all
>
opened programms in OSX?
>
>
Now I must tell all applications and quit them on after the other.
>
But there are some programms I opened only sometimes. So it would be
>
better, to close only all the programms that are opened.
>
>
Thank you in advance.
>
>
Greetings,
>
>
J|rgen
>
_______________________________________________
>
applescript-users mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/applescript-users
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.