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 <cocoa...@charlessoft.com> wrote:
> 
>> On Sep 20, 2016, at 5:48 AM, Dave <d...@looktowindward.com 
>> <mailto:d...@looktowindward.com>> 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to