How to tell if an app is launched
How to tell if an app is launched
- Subject: How to tell if an app is launched
- From: Gil Dawson <email@hidden>
- Date: Wed, 2 Nov 2005 17:00:20 -0800
Title: How to tell if an app is
launched
Hi--
I'm looking for a more compact way to tell whether an application
is active. The following works, but seems unnecessarily
cumbersome:
tell application "Finder"
set
TElaunched to ((application
processes whose name is
"TextEdit")'s name as
string)
end tell
if
TElaunched is not equal
to "TextEdit" then return
Is there something simpler?
--Gil
_______________________________________________
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