Re: How to Launch an App using the Bundle ID?
Re: How to Launch an App using the Bundle ID?
- Subject: Re: How to Launch an App using the Bundle ID?
- From: Dave <email@hidden>
- Date: Wed, 21 Sep 2016 11:43:51 +0100
Hi,
Thanks a lot! I was surprised that NSWorkspace doesn’t include this seemingly useful method.
All the Best
Dave
> On 20 Sep 2016, at 16:16, Charles Srstka <email@hidden> wrote:
>
>> On Sep 20, 2016, at 5:48 AM, Dave <email@hidden <mailto:email@hidden>> wrote:
>>
>> Hi All,
>>
>>
>> I’m using launchApplication method from Shared Workspace, however, it accept an Application Name and all I have is the Bundle ID. How can I launch an App using the Bundle ID?
>>
>> All the Best
>> Dave
>
> Get the URL of the application by using -[NSWorkspace URLForApplicationWithBundleIdentifier:], then launch the application by the URL.
>
> Charles
>
_______________________________________________
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