Skip navigation

xcode launch an application bundled inside

169 Views 0 Replies Latest reply: Feb 13, 2013 7:24 AM by Kidsnd274 RSS
Kidsnd274 Level 1 Level 1 (30 points)
Currently Being Moderated
Feb 13, 2013 7:24 AM

So I have been working on an application to restart into windows. Its like a small application that is on the sidebar.


So I have set everything to work properly and designed everything, but one problem. How do I set the button, in this case "Restart in Windows" to launch another application. This other application is bundled into the project as well. Please help.


I have tried this command or whatever its called.


- (IBAction)doSomething:(id)sender {

    [[NSWorkspace sharedWorkspace] launchApplication:[bundle pathForResource:@"launchwindows" ofType:@"app"]];


is there anything wrong?

MacBook Air, OS X Mountain Lion (10.8.2)


More Like This

  • Retrieving data ...

Bookmarked By (0)


  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.