• 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: Pierce Freeman <email@hidden>
  • Date: Sun, 22 Feb 2009 12:37:32 -0800
  • Thread-topic: Name to PSN

> 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.

It's not a application per say, but a daemon.  At least I think... It's
rather confusing.  You see, the dock is a daemon (I think) but there is an
application in Core Services that is Dock.app

> 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.

As I said above, I'm just not sure.  If it's an application an Apple Event
probably will work, but if it's a daemon (as you pointed out) it probably
won't.

> 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.

Okay Ken, I'll look into it...


_______________________________________________

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: Kyle Sluder <email@hidden>
References: 
 >Re: Name to PSN (From: Ken Thomases <email@hidden>)

  • Prev by Date: iPhone MPMoviePlayerController stops iPod
  • Next by Date: Re: Surprising entanglement of UI lock during fetch request in background thread (NSViewHierarchyLock/MOC locking deadlock).
  • Previous by thread: Re: Name to PSN
  • Next by thread: Re: Name to PSN
  • Index(es):
    • Date
    • Thread