• 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
NSWorkspace question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSWorkspace question


  • Subject: NSWorkspace question
  • From: rfitz <email@hidden>
  • Date: Tue, 3 May 2005 19:08:06 -0400

I have a screensaver that I want to add a configure sheet to.  Instead
of opening a sheet with the settings I have a helper app that needs to
be launched.  Right now I can launch that application when I click the
Options button from the ScreenSaver preference pane, but after my
helper program launches, the Systems Preferences applications crashes.

What needs to be changed in the code below so after my program
launches, the System Preferences application does not crash?

Thanks,

-Rhon Fitzwater

- (NSWindow*)configureSheet
{
	[[NSWorkspace sharedWorkspace] launchApplication:@"/Applications/My\
Controller.app"];
}
 _______________________________________________
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: NSWorkspace question
      • From: glenn andreas <email@hidden>
  • Prev by Date: Re: Spotlight Plugins don't immediately work?
  • Next by Date: Re: Are there macros for exception-based error checking?
  • Previous by thread: Re: [Novice] Redraw inactive windows
  • Next by thread: Re: NSWorkspace question
  • Index(es):
    • Date
    • Thread