• 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: Detecting login/logout?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Detecting login/logout?


  • Subject: Re: Detecting login/logout?
  • From: Wade Tregaskis <email@hidden>
  • Date: Sat, 1 Nov 2003 12:04:36 +1100

Can anyone point me to any hints at detecting login/logout or any other good method of knowing when the Mac's login dialog is onscreen?

SystemConfiguration.framework can notify you when this happens. However, there are some issues with your application being terminated with the login session that you might need to look at.

Any idea off hand how the program is terminated? i.e. is it just a signal that can be caught? I'm looking at doing a similar thing with a process that needs to run from startup through login/logout cycles. I cannot rely on individual accounts to have my process set as a login item, nor would it be convenient to have to handle the closing and reopening of my process.

Wade Tregaskis
-- Sed quis custodiet ipsos custodes?
_______________________________________________
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: Detecting login/logout? (From: Finlay Dobbie <email@hidden>)

  • Prev by Date: Re: Easy(?) Cocoa Question
  • Next by Date: Re: Freelance programming
  • Previous by thread: Re: Detecting login/logout?
  • Next by thread: Re: Detecting login/logout?
  • Index(es):
    • Date
    • Thread