<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">> Date: Tue, 8 Apr 2008 23:51:05 +0200<br>> From: python@kareta.de<br>> To: python-win32@python.org<br>> Subject: Re: [python-win32] Child Windows<br>> <br>> Joćo Abrantes schrieb:<br>> > Hello,<br>> ><br>> > I am trying to make a program that sends text to notepad using <br>> > win32api.SendMessage function. The thing is that I don't know how to <br>> > get the notepad child window edit handler and I can't find any <br>> > documentation about win32 (python) can you help me?<br>> ><br>> > Regards.<br>> ><br>> > ------------------------------------------------------------------------<br>> > Invite your mail contacts to join your friends list with Windows Live <br>> > Spaces. It's easy! Try it! <br>> > <http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us> <br>> ><br>> > ------------------------------------------------------------------------<br>> ><br>> > _______________________________________________<br>> > python-win32 mailing list<br>> > python-win32@python.org<br>> > http://mail.python.org/mailman/listinfo/python-win32<br>> > <br>> Hi Joćo,<br>> <br>> this doesn't answer your question but nevertheless there is the sendkeys <br>> package wich can do it and maybe give you some thoughts: <br>> http://www.rutherfurd.net/python/sendkeys/<br>> <br>> regards<br>> Jürgen<br>> _______________________________________________<br>> python-win32 mailing list<br>> python-win32@python.org<br>> 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>