Re: send keys to focused window

2009-07-13 Thread Lawrence D'Oliveiro
In message mpg.24c0392b71e8a0eb989...@news.bintube.com, Broken wrote: I am new to Python, and I'm miserably failing to send specific keys to (say) notepad. I don't understand why you need to automate a GUI front-end, meant for human use, to a function that can be directly performed without

send keys to focused window

2009-07-09 Thread Broken
Hi, I am new to Python, and I'm miserably failing to send specific keys to (say) notepad. Here is the scenario: I have notepad open. My python script is running in the background. When I press ALT+a I want to intercept the keys and send รค(ASCII code: ALT+0228) instead. OS: Windows 7 Libraries