• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to check applications already opened
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >How to check applications already opened (From: Elmer Banate <email@hidden>)

  • Prev by Date: How to check applications already opened
  • Next by Date: Re: Add an item to OS X's "startup items"
  • Previous by thread: How to check applications already opened
  • Next by thread: Re: How to check applications already opened
  • Index(es):
    • Date
    • Thread