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

2005-04-01 Thread Roel Schroeven
Tim Roberts wrote: > On Wed, 30 Mar 2005 20:46:43 -0500, Daniel F <[EMAIL PROTECTED]> wrote: > >> Well... i figured it out - turns out sending the keystrokes to the top >> window of notepad didnt work, but sending them to the Edit child >> window of notepad did the trick. >> >> But this brings me

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

2005-04-01 Thread Thomas Heller
Roel Schroeven <[EMAIL PROTECTED]> writes: > Tim Roberts wrote: > >> On Wed, 30 Mar 2005 20:46:43 -0500, Daniel F <[EMAIL PROTECTED]> wrote: >> >>> Well... i figured it out - turns out sending the keystrokes to the top >>> window of notepad didnt work, but sending them to the Edit child >>> windo

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

2005-04-01 Thread Tim Roberts
On Thu, 31 Mar 2005 21:40:02 -0500, Daniel F <[EMAIL PROTECTED]> wrote: Well, i do need a general solution, I was just using notepad as a test case... So it's definitely good for me to know about this - thanks! But i wonder, isnt there some kind of an "upstream" event, that could be generated and t

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

2005-04-01 Thread Daniel F
Thank you all for your suggestions! Using PostMessage with WM_KEYDOWN/KEYUP, and creating the lparam bitfield like that, does the trick quite well. Really appreciate your help! :) On Apr 1, 2005 12:59 PM, Tim Roberts <[EMAIL PROTECTED]> wrote: > On Thu, 31 Mar 2005 21:40:02 -0500, Daniel F <[EMAIL