last mouse movment or keyboard hit

Ron Eggler ron at example.com
Wed Mar 26 15:28:26 CET 2008


Gabriel Genellina wrote:

> En Wed, 26 Mar 2008 00:38:08 -0300, Ron Eggler <ron at example.com> escribió:
> 
>> I would like to get the time of the most recent human activity like a
>> cursor
>> movement or a key hit.
>> Does anyone know how I can get this back to start some action after there
>> has been no activity for X minutes/seconds?
> 
> Which platform? On non-ancient Windows versions, you can periodically
> check GetLastInputInfo
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/userinput/keyboardinput/keyboardinputreference/keyboardinputfunctions/getlastinputinfo.asp
> 
> 
No, it would be for Linux and preferrably it would work on MacOS & Windows
as well....is there anything?
Thanks!
-- 
chEErs roN



More information about the Python-list mailing list