Re: problem with NSWorkspace running apps
Re: problem with NSWorkspace running apps
- Subject: Re: problem with NSWorkspace running apps
- From: Scott Ribe <email@hidden>
- Date: Fri, 05 Sep 2014 00:02:47 -0600
On Sep 4, 2014, at 11:22 PM, Ken Thomases <email@hidden> wrote:
> -[NSWorkspace launchApplicationAtURL:options:configuration:error:] directly returns the NSRunningApplication that it launched. You can get the URL using -URLForApplicationWithBundleIdentifier: in order to work from a bundle identifier, similarly to -launchAppWithBundleIdentifier:.
I'd missed URLForApplicationWithBundleIdentifier in the docs. That's exactly what I need. In fact, if I have the URL, I don't even need the NSRunningApplication, so one way or or the other, that will do it for me.
--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice
_______________________________________________
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