• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Launching an App, within an app.. :)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Launching an App, within an app.. :)
      • From: Jerry Krinock <email@hidden>
References: 
 >Launching an App, within an app.. :) (From: "Bobby B" <email@hidden>)

  • Prev by Date: Re: Trouble with sheets...
  • Next by Date: Re: Trouble with sheets...
  • Previous by thread: Launching an App, within an app.. :)
  • Next by thread: Re: Launching an App, within an app.. :)
  • Index(es):
    • Date
    • Thread