Chris Maloof wrote:
Thanks for the help! ctypes ended up working for me, with help from
win32process where possible. I'm not sure why the solutions involving
popen variants failed; I might have missed something easier. Here's the
meat of my solution for the archives anyway, though.
IIRC
Niki Spahiev wrote:
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
Niki Spahiev [EMAIL PROTECTED] writes:
Chris Maloof wrote:
Thanks for the help! ctypes ended up working for me, with help from
win32process where possible. I'm not sure why the solutions
involving popen variants failed; I might have missed something
easier. Here's the meat of my solution
OnMon, 4 Apr 2005 17:28:09 -0400, Daniel F [EMAIL PROTECTED] wrote:
But now I am running into another problem. I was originally planning
to use this on a game (final fantasy 7, in fact). I capture keystrokes
in the system, then send them over the net and generate them on the
remote comp, thus
I get a similar errors if I use
win32com.client.gencache.EnsureDispatch instead of
win32com.client.Dispatch. You get different error depending on the
contents of the pythonroot\lib\site-packages\win32com\gen_py\
directory. If pythonroot\lib\site-packages\win32com\gen_py\ is empty
then you get
Daniel F wrote:
How about getkeyboardstate/setkeyboardstate functions, put together
with attachthreadinput? would that be on the keyboard driver level,
above directinput? or still below it, and thus bypassed?
Actually, after doing some more reading, there may be a way to do what
you want with
Daniel F wrote:
hmm, according to that site, sendinput just may be exactly what i need
to send input to a directinput-using app. I will give it a shot and
let know how it goes. i'm curious why pywin32 doesnt wrap sendinput,
among other functions? any specific reason, or just didnt get to it
yet ?
I installed ActiveState's version of Python 2.4 (which contains the
Win32 extensions) but after installing the Python WMI module I get the
following error when I try and import it:
import wmi
Traceback (most recent call last):
File C:\Program Files\ActiveState Komodo
C:\Python24\Lib\site-packages\win32com\client\gencache.py, line
559, in AddModuleToCache
dict = mod.CLSIDToClassMap
AttributeError: 'module' object has no attribute 'CLSIDToClassMap'
Does anyone know how to fix this? It looks like I'm missing some
functionality.
It looks like something