[python-win32] lock workstation
kNish
singhai.nish at gmail.com
Thu Oct 11 15:42:29 CEST 2007
Hi,
Need : To track time when a workstation is locked and when it is
unlocked. Store this time.
My approach : 1st Option
Trap the key "ctrl+alt+del" or "windows+l". trigger a procedure
to save the time in and time out into a database.
2nd Option
Run a procedure that has a while true loop. In this loop there
can be a event capture device to know that a ctrl+alt+del has been pressed.
Now run the save to database procedure.
I think of doing this using python, tkinter, ctype opendesktop.
To trap the keys, I need to find a bind function. Is it possible
to do this. Any suggestion.
BRgds,
kNish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20071011/62d9277e/attachment.htm
More information about the python-win32
mailing list