• 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
How to tell if an app is launched
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: How to tell if an app is launched
      • From: Bill White <email@hidden>
  • Prev by Date: Re: Getting the info out of the images of a PDF
  • Next by Date: Re: iPhoto "launch" bug?
  • Previous by thread: Re: iPhoto "launch" bug?
  • Next by thread: Re: How to tell if an app is launched
  • Index(es):
    • Date
    • Thread