last mouse movment or keyboard hit

Diez B. Roggisch deets at nospam.web.de
Thu Mar 27 03:59:00 EDT 2008


Ron Eggler schrieb:
> Hi,
> 
> 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?

Try hooking yourself into the OS screen-saver-code.

Diez



More information about the Python-list mailing list