Re: How to check applications already opened
Re: How to check applications already opened
- Subject: Re: How to check applications already opened
- From: Michael Stillwell <email@hidden>
- Date: Sat, 14 Dec 2002 10:54:01 +1100
On Friday, Dec 13, 2002, at 16:46 Australia/Melbourne, Elmer Banate
wrote:
Hello All,
Is there a way to check what are the opened
applications. Or to check if that application is
already open.
I asked this question a few weeks ago; I eventually distilled the
answers into:
on is_running(s)
tell application "System Events" to return exists process s
end
if is_running("QuarkXPress") then
-- ...
end if
I think in OS 9 you need to use "Finder" instead of "System Events".
You could check the list archives for more information.
Michael
* * *
http://beebo.org
_______________________________________________
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.