[python-win32] Help on using win32api.SendMessage to send keystrokes

Simon Brunning simon.brunning at gmail.com
Mon Apr 4 15:48:44 CEST 2005


On Mar 30, 2005 4:28 PM, Daniel F <nanotube at gmail.com> wrote:
> Hi,
> 
> I am trying to use win32gui.SendMessage API (or PostMessage), and
> cannot figure out why
> it is not working. I would appreciate any help! Simple test script I
> am using is included below.
> 
> I am using pywin32-203 and python 2.4, on winxp pro sp2.
> 
> #### Script to try to write something down in notepad

(snip script)

You might want to take a look at WATSUP
(<http://www.tizmoi.net/watsup/intro.html>). It has a Windos GUI
automation module that you might want to mine for ideas.

-- 
Cheers,
Simon B,
simon at brunningonline.net,
http://www.brunningonline.net/simon/blog/


More information about the Python-win32 mailing list