Re: [python-win32] reading from console child process

2005-03-30 Thread Niki Spahiev
Chris Maloof wrote: Hello, I'm trying to read the output from a WinXP console application using PythonWin -- that is, I start the application as a child process, and I want to be able to read the ASCII text in the application's screen. The child app uses MSDN functions WriteConsoleOutputChar() a

Re: [python-win32] Retrieve Icons Associated To An Extension?

2005-03-30 Thread Niki Spahiev
[EMAIL PROTECTED] wrote: Hello NG, I have searched everyweher, and I am not able to find a solution... basically, I am constructing a GUI with wxPython, in which I have a list. In this list control, I have some file. I would like to associate (to every file) its icon (on Windows). I have sear

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

2005-03-30 Thread Daniel F
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. I am a total newbie to python, so if this is a rea

Re: [python-win32] reading from console child process

2005-03-30 Thread Ray S
At 11:49 PM 3/29/2005 -0500, Chris Maloof wrote: Hello, I'm trying to read the output from a WinXP console application using PythonWin -- that is, I start the application as a child process, and I want to be able to read the ASCII text in the application's screen. I wrote some pipes code to do wa

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

2005-03-30 Thread Daniel F
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 to another question, although of a less urgent manner. i had to send WM_CHAR messages, rather than WM_KEYDOWN/

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

2005-03-30 Thread Roel Schroeven
Daniel F 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 to another question, although of a less urgent > manner. i had to send WM_CHAR mess