Re: Detecting login/logout?
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.