Originally, I need to distinguish logging out from shutting down or restarting. Since there isn't an easy way to do that, I am thinking to find a way to tell only when the user is logging out and let the machine do whatever it wants when shutting down or restarting.Do you have a better idea how to do it?
On Wed, Nov 12, 2008 at 2:30 PM, Kyle Sluder < [EMAIL PROTECTED] <[EMAIL PROTECTED]>> wrote: > On Wed, Nov 12, 2008 at 4:56 PM, Maggie Zhang <[EMAIL PROTECTED]> > wrote: > > Is there a way (like a notification or API) that the daemon can figure > out > > when the login window is being displayed after the user logs out? > > Why do you need to do this? Your app must be configured for a very > special set of circumstances in order to run at the login window. > Perhaps if you describe what you're trying to achieve you will be able > to get what you need without resorting to notifications. > > --Kyle Sluder > _______________________________________________ Cocoa-dev mailing list ([email protected]) 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/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
