Sending X KeyPress events with Xlib?

Ed Suominen ed-no at spam-eepatents.com
Tue Mar 23 02:45:11 EST 2004


I am a fairly experienced TCL programmer considering a move to Python for my
next project. The project will receive text via TCP from a Windows box
running speech recognition software and send corresponding keystroke
sequences to the window with the current mouse pointer. I've been playing
with the Python-xlib package and it looks promising.

Could anyone provide some guidance on how to generate X KeyPress events to
the current window based on a string?

Thanks, Ed Suominen



More information about the Python-list mailing list