[python-win32] Dealing with windows in Windows

2009-08-04 Thread Kimmo Kekkonen
Hi! I were wondering if it is possible to use Python to select a window (by title or somehow) and then input text into it? I'd need the trick to input text to program I am running from cmd. When program opens it also opens one GUI window and focus to the cmd will lost. Now I'd like to get

Re: [python-win32] Dealing with windows in Windows

2009-08-04 Thread Mike Driscoll
Kimmo Kekkonen wrote: Hi! I were wondering if it is possible to use Python to select a window (by title or somehow) and then input text into it? I'd need the trick to input text to program I am running from cmd. When program opens it also opens one GUI window and focus to the cmd will lost. Now

Re: [python-win32] Dealing with windows in Windows

2009-08-04 Thread Vernon Cole
I have successfully used windpysend for several years. It is not elegant -- you have to feed the characters slowly -- but works reliably enough that I automated several casino server start-up scripts using it, and the casino is very happy that the users no longer foul things up. It is not open

Re: [python-win32] Dealing with windows in Windows

2009-08-04 Thread Tim Roberts
Kimmo Kekkonen wrote: I were wondering if it is possible to use Python to select a window (by title or somehow) and then input text into it? I'd need the trick to input text to program I am running from cmd. When program opens it also opens one GUI window and focus to the cmd will lost. Now