On 16/10/06, Jack <[EMAIL PROTECTED]> wrote:
What commands can I use to have the program know a certain key has been pressed while another program is in focus?

Hello,

On windows I use the pyHook module (simple to use and works fine) :
http://www.cs.unc.edu/~parente/tech/tr08.shtml

On Linux its more tricky but you can find some informations here:
http://groups.google.com/group/comp.lang.python/browse_thread/thread/2d7e3791381bdeb5/a03d438f64ec5ac8#a03d438f64ec5ac8

cheers

thanks,
    Jack

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor



_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to