• 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
getting the app name of an app that quits
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

getting the app name of an app that quits


  • Subject: getting the app name of an app that quits
  • From: Chad Jones <email@hidden>
  • Date: Sun, 31 Aug 2003 15:07:52 -0700

Check out the following technote:

http://developer.apple.com/technotes/tn/tn2050.html

In the Cocoa section you will find in depth description of the NSWorkspace notifications. The technote also provides code which _by default_ prints the name of the process that launched/terminated. Just grab the downloadable at the very bottom, build it, run it and there you go. :-)

and gameOver: gets called fine and all but i need to know the
applications name to filter them out. any ideas how i can do this?
object is the only method in nsnotification i see that could help but
what would it return in my case?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Application menu won't change
  • Next by Date: Re: Application menu won't change
  • Previous by thread: Re: getting the app name of an app that quits
  • Next by thread: [ANN] ObjC EOF on OSX
  • Index(es):
    • Date
    • Thread