• 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: Name to PSN
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Name to PSN


  • Subject: Re: Name to PSN
  • From: Ken Thomases <email@hidden>
  • Date: Sun, 22 Feb 2009 12:14:02 -0600

On Feb 21, 2009, at 10:21 PM, Pierce Freeman wrote:

Is there some panel in Activity Monitor that I'm missing that shows you the Bundle ID of
all the processes? I am not quitting my own application (as you may have
guessed) but I do need some way to find it for another application.

Is there one specific application that you will be quitting? You can look into its application bundle at its Info.plist file to get its bundle ID.



On another topic: Is there someway to have NSWorkspace show all the
processes open? Right now it is showing me the applications, but the
process that I'm targeting isn't really an application and doesn't have an
interface.

As I recall, you were planning to send a "quit" Apple Event to the process to ask it to quit. Are you sure it will respond to such an event? If it's a BSD-level tool or daemon or the like, it very likely won't. If it's an LSUIElement application, then it probably will.


In addition to the documentation that Jerry Krinock referred you to, you might want to read this technote <http://developer.apple.com/technotes/tn/tn2050.html >, especially the caveats regarding Process Serial Number-based APIs.

Cheers,
Ken

_______________________________________________

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: Name to PSN
      • From: Pierce Freeman <email@hidden>
    • Re: Name to PSN
      • From: Pierce Freeman <email@hidden>
References: 
 >Re: Name to PSN (From: Pierce Freeman <email@hidden>)

  • Prev by Date: Re: NSNotificationCenter : multiple messages sent to the same observer?
  • Next by Date: Re: Programmatically opening an NSComboBox list
  • Previous by thread: Re: Name to PSN
  • Next by thread: Re: Name to PSN
  • Index(es):
    • Date
    • Thread