• 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: User Shutdown or Logout
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: User Shutdown or Logout


  • Subject: Re: User Shutdown or Logout
  • From: Nick Zitzmann <email@hidden>
  • Date: Fri, 10 Aug 2007 15:29:48 -0600


On Aug 10, 2007, at 3:25 PM, development2 wrote:

Thanks for this info, but it does not seem to work correctly. I have a Status Item app (Main menu bar), and the Notification NSWorkspaceWillPowerOffNotification setup correctly, but it never gets called. I just tried this in a normal app and there is no problem with that it gets called with no problem. But under this Menu Bar app it is never called. Now I found some links that talk about this not working for background apps, but they never came to any real conclusion. Has anyone else ever experienced this?

Are you sure you're using the correct notification center? NSWorkspace has its own notification center separate from the default center.


Nick Zitzmann
<http://www.chronosnet.com/>


_______________________________________________

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: User Shutdown or Logout
      • From: "parag vibhute" <email@hidden>
References: 
 >User Shutdown or Logout (From: development2 <email@hidden>)
 >Re: User Shutdown or Logout (From: Scott Anguish <email@hidden>)
 >Re: User Shutdown or Logout (From: development2 <email@hidden>)

  • Prev by Date: Re: pointer assignment inherently atomic ?
  • Next by Date: create subimage from NSBitmapImageRep
  • Previous by thread: Re: User Shutdown or Logout
  • Next by thread: Re: User Shutdown or Logout
  • Index(es):
    • Date
    • Thread