<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><div style="text-align: left;"><br></div><br>The thing is that i just gave the notepad as an example. What I really want is to send long keystrokes to a child window of a game. And the sendkeys module doesn't allow you to send long keystrokes. So I think that i really need to use win32api.sendmessage.<br><br><br><hr id="stopSpelling">&gt; Date: Tue, 8 Apr 2008 23:51:05 +0200<br>&gt; From: python@kareta.de<br>&gt; To: python-win32@python.org<br>&gt; Subject: Re: [python-win32] Child Windows<br>&gt; <br>&gt; Joćo Abrantes schrieb:<br>&gt; &gt; Hello,<br>&gt; &gt;<br>&gt; &gt; I am trying to make a program that sends text to notepad using <br>&gt; &gt; win32api.SendMessage function. The thing is that I don't know how to <br>&gt; &gt; get the notepad child window edit handler and I can't find any <br>&gt; &gt; documentation about win32 (python) can you help me?<br>&gt; &gt;<br>&gt; &gt; Regards.<br>&gt; &gt;<br>&gt; &gt; ------------------------------------------------------------------------<br>&gt; &gt; Invite your mail contacts to join your friends list with Windows Live <br>&gt; &gt; Spaces. It's easy! Try it! <br>&gt; &gt; &lt;http://spaces.live.com/spacesapi.aspx?wx_action=create&amp;wx_url=/friends.aspx&amp;mkt=en-us&gt; <br>&gt; &gt;<br>&gt; &gt; ------------------------------------------------------------------------<br>&gt; &gt;<br>&gt; &gt; _______________________________________________<br>&gt; &gt; python-win32 mailing list<br>&gt; &gt; python-win32@python.org<br>&gt; &gt; http://mail.python.org/mailman/listinfo/python-win32<br>&gt; &gt;   <br>&gt; Hi Joćo,<br>&gt; <br>&gt; this doesn't answer your question but nevertheless there is the sendkeys <br>&gt; package wich can do it and maybe give you some thoughts: <br>&gt; http://www.rutherfurd.net/python/sendkeys/<br>&gt; <br>&gt; regards<br>&gt; Jürgen<br>&gt; _______________________________________________<br>&gt; python-win32 mailing list<br>&gt; python-win32@python.org<br>&gt; http://mail.python.org/mailman/listinfo/python-win32<br><br /><hr />Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! <a href='http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us' target='_new'>Try it!</a></body>
</html>