Hello,<br><br>On windows OS I'm using the nice pyhook module:<br><br>"The pyHook library wraps the low-level mouse and keyboard hooks in the Windows Hooking API for use in Python applications. "
<br><br>See tutorial here:<br><a href="http://www.cs.unc.edu/%7Eparente/tech/tr08.shtml" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.cs.unc.edu/~parente/tech/tr08.shtml</a><br><br>francois
<br><br><div><span class="gmail_quote">On 01/04/06, <b class="gmail_sendername">Ars</b> <<a href="mailto:aguffabuff@hotmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">aguffabuff@hotmail.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="direction: ltr;">
<div><font face="Arial" size="2">What commands could capture input from the keyboard
(and the mouse while we're at it) even when the running python program isn't the
program in focus? Sorta like a keylogger, though that's not my goal (wouldn't be
very secret with a python console running anyways lol.)</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">-Jack</font></div>
</div><br>_______________________________________________<br>Tutor maillist - <a href="mailto:Tutor@python.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Tutor@python.org</a><br><a href="http://mail.python.org/mailman/listinfo/tutor" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://mail.python.org/mailman/listinfo/tutor</a><br><br><br></blockquote></div><br>