Re: How do I get the NSApplication of other running
Re: How do I get the NSApplication of other running
- Subject: Re: How do I get the NSApplication of other running
- From: Ben Phipps <email@hidden>
- Date: Thu, 7 Sep 2006 16:18:20 -0700
While we're on this topic, I have an app that launches a helper app.
It would be useful for me to know when the app stops running, either
by terminating on it's own, or more importantly by crashing. The
ugly and inefficient way I was doing this was to poll for a list of
running processes and look for my helper app. Does anyone have
suggestions for a more elegant solution?
Ben
On Sep 7, 2006, at 3:46 PM, Alan Smith wrote:
Okay. Um... Put bluntly, I'm trying to "reinvent" the Dock. Many have
done this before but I'm just barely using Apple's Dock as a template.
So, I'll get the notification that an app has been launched and it'll
go in my dock. Then, if a user right-clicks on an app the app's "Dock
Menu" should pop up.
Also, if I can get the NSApplication of apps I'll use their main
windows to display a window as the desktop "image."
I don't want alternative ways to solve each problem individually
because I have other uses for getting the NSApplication of a running
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