last mouse movment or keyboard hit

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Wed Mar 26 13:24:50 EDT 2008


>> En Wed, 26 Mar 2008 00:38:08 -0300, Ron Eggler <r... 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?

En Wed, 26 Mar 2008 13:59:15 -0300, azrael <jura.grozni at gmail.com>  
escribió:

> You can use wxPython. Take a look on the DemoFiles that you can
> download also from the site. I remember that there has been a demo of
> capturing mouse coordinates and also one example about capturing Which
> key has been pressed at which time.

(Please don't top post)
Does wx catch all events in all other applications?
My understanding is that the OP wants a global detection, not restricted  
to a single application.

-- 
Gabriel Genellina




More information about the Python-list mailing list