On Sep 4, 2014, at 11:22 PM, Ken Thomases <[email protected]> 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 protected]
http://www.elevated-dev.com/
(303) 722-0567 voice





_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to