Re: Determining user log off
Re: Determining user log off
- Subject: Re: Determining user log off
- From: Rosyna <email@hidden>
- Date: Tue, 2 Jul 2002 21:12:46 -0700
Ack, at 7/3/02, Scott Anguish said:
On Tuesday, July 2, 2002, at 11:46 PM, Rosyna wrote:
If you are talking about NSWorkspaceWillPowerOffNotification, it
seems to not be sent until other applications are in the process of
quitting. And the daemon has already stopped login by that time.
well, I think the other applications are responding to that
notification...
Right, it is sent, but not until the system had started sending the
quit event to other applications, which is too late.
but if what you're trying to do is make sure that the daemon
is stopped, couldn't the application that relaunches it kill it if
it is running when it gets this notification?
That won't quit work ;) If the application is relaunched, it stops
the logging out process, which prevents the main application from
ever getting the log out message.
Oh, duh. I'm such an idiot. I'll just send a notification out to the
distributed center from the daemon that tells the main app to not
launch it again.
--
Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug
Unsanity: Unsane Tools for Insanely Great People
---
Please include any previous correspondence in replies, it helps me
remember what we were talking about. Thanks.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.