• 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
"Helper" applications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"Helper" applications


  • Subject: "Helper" applications
  • From: Jacob Bandes-Storch <email@hidden>
  • Date: Thu, 20 Dec 2007 09:06:47 -0800

My preference pane contains in the Resources folder a "helper" application. I've got a communication between them going with distributed objects. The preference pane needs to be able to open and close the helper (similar to the Growl and MySQL preference panes), and see if it is currently running. I can use [[NSWorkspace sharedWorkspace] launchedApplications] and see if any of those match the file path of the helper app's bundle. I can launch the helper app with [[NSWorkspace sharedWorkspace] openFile:]. I can monitor whether or not it's open with notifications... Where I'm stuck is how to close it. There doesn't seem to be a (recommended) way to access its NSApplication instance to terminate it. How can I close the helper app?
_______________________________________________


Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: "Helper" applications
      • From: Murat Konar <email@hidden>
  • Prev by Date: Re: parsing string data
  • Next by Date: Re: parsing string data
  • Previous by thread: Re: parsing string data
  • Next by thread: Re: "Helper" applications
  • Index(es):
    • Date
    • Thread