Re: Launching an App, within an app.. :)
Re: Launching an App, within an app.. :)
- Subject: Re: Launching an App, within an app.. :)
- From: Nick Zitzmann <email@hidden>
- Date: Sat, 17 Jun 2006 19:40:25 -0600
On Jun 17, 2006, at 5:59 PM, Bobby B wrote:
I want to include an .app in my application, in addition to the normal
.app. Like, it would be in my .app's /Resources. I'm having trouble
launching the app though. I know how to use pathForResources, but I
have trouble with this:
[[NSWorkspace sharedWorkspace] launchApplication:@"Dashboard"];
(I'm not trying to launch Dashboard, lol). When I pass it the path to
the app, it just doesn't load... Should I try another approach? Any
suggestions?
Try again, but use a full path to the app bundle instead of the app
name. If you need the path to your app, use -[NSBundle bundlePath].
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden