Re: Check if app exists
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