• 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: Determining user log off
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
References: 
 >Re: Determining user log off (From: Scott Anguish <email@hidden>)

  • Prev by Date: Re: Determining user log off
  • Next by Date: Re: Determining user log off
  • Previous by thread: Re: Determining user log off
  • Next by thread: Re: Determining user log off
  • Index(es):
    • Date
    • Thread