Re: Finding other apps' paths - deterministically!
Re: Finding other apps' paths - deterministically!
- Subject: Re: Finding other apps' paths - deterministically!
- From: Jerry Krinock <email@hidden>
- Date: Wed, 1 Oct 2008 12:47:25 -0700
On 2008 Sep, 30, at 16:47, Charles Srstka wrote:
On Sep 30, 2008, at 12:00 PM, Jerry Krinock wrote:
Also, it seems to not find helper applications which are inside
other applications' packages.
Is there any reason why you couldn't just search for the main
application which contains the helper application inside its bundle
and then just go from there to find the helper?
OK, do a programmatic Spotlight search for the main application, get
the path and tack on /Contents/Resources/MyHelper.app. I hadn't
thought about that but, yes, it that would overcome the package
problem, Charles.
However it still wouldn't work for users who've turned off Spotlight
indexing or excluded stuff in their Spotlight prefs. So I'm happy
with my Carbon File Manager search, although admittedly not happy with
the several days I spent getting the stupid thing working.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden