• 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: NSWorkspaceWillPowerOffNotification (worse than description forthcoming)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSWorkspaceWillPowerOffNotification (worse than description forthcoming)


  • Subject: Re: NSWorkspaceWillPowerOffNotification (worse than description forthcoming)
  • From: Stéphane Sudre <email@hidden>
  • Date: Wed, 17 Oct 2001 18:35:19 +0200

On mercredi, octobre 17, 2001, at 06:40 , Douglas Davidson wrote:


On Wednesday, October 17, 2001, at 04:08 AM, Stiphane Sudre wrote:

In the NSWorkSpace documentation:

NSWorkspaceWillPowerOffNotification

Posted when the user has requested a logout or that the machine be powered off. Currently unavailable.

Is it still unavailable in 10.1 ?

I believe that the current state of affairs is that when logout/power off occurs, your application is be asked to quit, but we do not make a distinction between this and other requests to quit (e.g. from an AppleScript). The NSWorkspaceWillPowerOffNotification is currently delivered in either case.

Nice.

Because the NSApplication documentation is explaining that on logout, you don't receive a applicationWillTerminate "delegated" message and that the NSWorkspaceWillPowerOffNotification should be taken into account.


References: 
 >Re: NSWorkspaceWillPowerOffNotification (worse than description forthcoming) (From: Douglas Davidson <email@hidden>)

  • Prev by Date: Re: NSWorkspaceWillPowerOffNotification (worse than description forthcoming)
  • Next by Date: RE: C Structs as objects?
  • Previous by thread: Re: NSWorkspaceWillPowerOffNotification (worse than description forthcoming)
  • Next by thread: Re: [OFF] Services Question - X.1
  • Index(es):
    • Date
    • Thread