• 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
Re: How do I get the NSApplication of other running
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: How do I get the NSApplication of other running
      • From: "Jordan Krushen" <email@hidden>
    • Re: Re: How do I get the NSApplication of other running
      • From: "Shawn Erickson" <email@hidden>
  • Prev by Date: Re: Re: How do I get the NSApplication of other running applications?
  • Next by Date: Re: Re: How do I get the NSApplication of other running
  • Previous by thread: Re: Observing Core Data
  • Next by thread: Re: Re: How do I get the NSApplication of other running
  • Index(es):
    • Date
    • Thread