Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: User Shutdown or Logout



Thanks Scott. I looked through there butfor some reason I missed NSWorkspaceWillPowerOffNotification. That is exactly what I need.

Sorry for the traffic.


On Aug 9, 2007, at 11:48 PM, Scott Anguish wrote:


On Aug 9, 2007, at 2:23 PM, development2 wrote:

I am trying to figure out how to detect when the user either logs out or the user Shuts down. How can I detect this? This may have already been covered, but i can't seem to find the answer in the list archives.

Thanks in advance for any help.


http://developer.apple.com/documentation/Cocoa/Reference/ ApplicationKit/Classes/NSWorkspace_Class/index.html#//apple_ref/doc/ uid/TP40004153


Specifically the notifications...


_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >User Shutdown or Logout (From: development2 <email@hidden>)
 >Re: User Shutdown or Logout (From: Scott Anguish <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.