• 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
Log Out
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Log Out


  • Subject: Log Out
  • From: FlyMac <email@hidden>
  • Date: Wed, 25 Sep 2002 15:30:41 +0200

Hello,

I'm looking for a way to tell the system to log out from cocoa code. Even an AppleScript command would be great (I can send this event with NSAppleScript) but it doesn't seem to exist.
The only thing I found so far was to kill "loginwindow.app" but it logs out so brutally that unsaved documents get lost!

If only there was a way to "simulate" keystrokes in the finder, I could do "shift-command-Q" to log out, but as far as I know, it doesn't exist as well (I mean, with no additional software installed).

I've also searched through the web archives, but I didn't find any helpful answer about that point.

Thanks for any clue / help :-)

Kevin


________________________________________________________________
Etudiant: Wanadoo t'offre le Pack eXtense Haut Dibit soit 150,92 euros d'iconomies !
Et pour 1 euro de plus, regois le CD-ROM du jeu Dark Age of Camelot
+ 1 mois de jeu en riseau offert ! Clique ici : http://www.ifrance.com/_reloc/mail.etudiant _______________________________________________
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.
  • Follow-Ups:
    • Re: Log Out
      • From: David Remahl <email@hidden>
  • Prev by Date: Re: resource forks and cvs?
  • Next by Date: Siemens Gigaset ISDN and Mac?
  • Previous by thread: Multiple apps, one file.
  • Next by thread: Re: Log Out
  • Index(es):
    • Date
    • Thread