Quitting applications and applescript studio application
Quitting applications and applescript studio application
- Subject: Quitting applications and applescript studio application
- From: "Martha I. Espinosa" <email@hidden>
- Date: Wed, 20 Apr 2005 14:54:32 -0600
Title: Quitting applications and applescript studio
application
Hi,
I'm having problems with the following applescript:
tell
application
"System Events"
set RunningApps to the name of every process
whose visible is true
end
tell
repeat
with
CurrentApp
from
1
to
(the
count of text items in RunningApps)
set WhichApp to (text item CurrentApp of RunningApps)
if (WhichApp is not in {"Finder"}) then
tell application WhichApp to quit
end if
end
repeat
This has been incorporated into an applescript studio
application. If the user opens an application within my
applescript it freaks out. Any ideas?
-ME
_______________________________________________
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