Re: Detect the login window is being displayed
Re: Detect the login window is being displayed
- Subject: Re: Detect the login window is being displayed
- From: "Maggie Zhang" <email@hidden>
- Date: Wed, 12 Nov 2008 15:22:10 -0800
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@hidden <email@hidden>> wrote:
> On Wed, Nov 12, 2008 at 4:56 PM, Maggie Zhang <email@hidden>
> 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@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