Re: How can I find app bundle with its identifier. App is not running.
Re: How can I find app bundle with its identifier. App is not running.
- Subject: Re: How can I find app bundle with its identifier. App is not running.
- From: Ken Thomases <email@hidden>
- Date: Fri, 17 Oct 2008 05:39:54 -0500
On Oct 17, 2008, at 3:55 AM, Stephen J. Butler wrote:
On Fri, Oct 17, 2008 at 3:38 AM, Alexander Shmelev
<email@hidden> wrote:
I have to find application bundle with its identifies, but [NSBundle
bundleWithIdentifier: ] searches only among running bundles. Is
there any
way to found bundle of not running application using its identifier?
Not 100% sure, but LSFindApplicationForInfo() looks like it will do
what you want.
Cocoa has a front-end to that same functionality: [[NSWorkspace
sharedWorkspace]
absolutePathForAppBundleWithIdentifier:theBundleIdentifier]
Cheers,
Ken
_______________________________________________
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