• 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: Check if app exists
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Check if app exists


  • Subject: Re: Check if app exists
  • From: has <email@hidden>
  • Date: Thu, 20 Sep 2007 20:24:23 +0100

Jon Pugh wrote:

We just did this thread back in July.

Here's a summary of 3 techniques, adjusted for Growl:

tell application "Finder"
	{ ...
		exists application file id "GRRR", ¬
		exists application file id "com.Growl.GrowlHelperApp"}
end tell

Ah, gotta love those unintuitive, undocumented application features. Shame the LaunchServices stuff wasn't wudged into the original System Events application, back before it became confusingly clogged up with all sorts of completely unrelated stuff.


(Incidentally, assuming the OP is writing their program for public consumption, it's maybe worth bearing in mind that not all Mac users run the Finder these days.)

has
--
http://appscript.sourceforge.net
http://rb-appscript.rubyforge.org

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Prev by Date: Re: Exporting shell variables to AppleScripts
  • Next by Date: ANN: MetaData.osax 1.0.4
  • Previous by thread: Re: Check if app exists
  • Next by thread: Re: Check if app exists
  • Index(es):
    • Date
    • Thread