• 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: Active application - how to tell?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Active application - how to tell?


  • Subject: Re: Active application - how to tell?
  • From: Christopher Nebel <email@hidden>
  • Date: Tue, 22 Jun 2004 10:11:34 -0700

On Jun 22, 2004, at 1:58 AM, Christopher Stone wrote:

At 09:59 +0200 06/22/2004, Peter Mathiessen wrought:

How do I tell the System event application if an application is running or
not?

You can do something like this:

tell application "System Events"
if exists (process 1 whose name is "Tex-Edit Plus") then

...which is really just a complicated way of saying

tell application "System Events"
if exists process "Tex-Edit Plus" then
...


--Chris Nebel
AppleScript Engineering
_______________________________________________
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.


  • Follow-Ups:
    • Re: Active application - how to tell?
      • From: "John W. Baxter" <email@hidden>
References: 
 >Active application - how to tell? (From: Peter Mathiessen <email@hidden>)
 >Re: Active application - how to tell? (From: Christopher Stone <email@hidden>)

  • Prev by Date: Script errors on different Mac
  • Next by Date: Re: Script to remove creator code
  • Previous by thread: Re: Active application - how to tell?
  • Next by thread: Re: Active application - how to tell?
  • Index(es):
    • Date
    • Thread