"Helper" applications
"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