• 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: Finding other apps' paths - deterministically!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Finding other apps' paths - deterministically!
      • From: Charles Srstka <email@hidden>
  • Prev by Date: NSString's "mutableCopy" creating a leak?
  • Next by Date: Re: NSString's "mutableCopy" creating a leak?
  • Previous by thread: Re: NSString's "mutableCopy" creating a leak?
  • Next by thread: Re: Finding other apps' paths - deterministically!
  • Index(es):
    • Date
    • Thread