Detecting Ctrl-Alt-Del in Windows

Tim Golden mail at timgolden.me.uk
Fri Sep 2 14:45:39 CEST 2011


>> Obviously, this is a windows-based question.  I know that Ctrl-Alt-Del
>> is handled deep inside the OS, and I'm not trying to interrupt that.
>> But is there some way to detect that a C-A-D has been pressed?

Others have pointed out that this shouldn't really be possible for
reasons of security. (And I agree). However, if what you're really
after is to detect a session switch or a logon then this might
be of some use:

http://timgolden.me.uk/python/win32_how_do_i/track-session-events.html

TJG



More information about the Python-list mailing list