Detecting user activity in Python
Stefan Behrens
stefan.behrens.usenet at gmx.net
Wed Jul 9 09:27:02 EDT 2003
Hi all,
does anyone know a way to detect whether the user is "active"
at the desktop?
What I mean is, whether he/she is actively using the machine
by typing or moving the mouse. What I am looking for is some
kind of trigger to subscribe for. I'd need to distinguish cases
where the screen is locked and someone just touched the mouse
unwantedly.
I rather doubt that such functionality is in Python itself, i.e.
can be used platform independently. So in that case, has anyone
examples of how to do that in native C++ for Windows and Linux?
TIA
/Stefan.
More information about the Python-list
mailing list