Hello,
What's the best way to launch a process and waiting for its exit code ?
I'm looking for something that can take win32con.SW_HIDE as argument
(os.spawnv don't).
K.
___
Python-win32 mailing list
[email protected]
http://mail.python.org/mail
Tim Roberts wrote:
> Boris Borcic wrote:
>> I am trying to use UI Automation to drive an MS Windows app with pywinauto.
>>
>> I need to scrape the app's window contents and use some form of OCR to get at
>> the texts (pywinauto can't get at them).
>>
>> As an alternative to integrating an OCR engin
Mark Hammond wrote:
>> Well, thats basically what I am doing now, but these object
>> structures that are returned can be arbitrarily complex, with lists
>> of objects that contain other kinds of objects, which have lists
>> of even more objects. Having to walk through arbitrary object
>> structu
At Wednesday 24/1/2007 05:40, le dahut wrote:
What's the best way to launch a process and waiting for its exit code ?
I'm looking for something that can take win32con.SW_HIDE as argument
(os.spawnv don't).
CreateProcess and then WaitForSingleEvent on the process handle.
Remember to close the
If you want to hide the window which your app was launched, rename the .py
file to .pyw
You wan't see the console window then
Message: 9
Date: Wed, 24 Jan 2007 09:40:47 +0100
From: le dahut <[EMAIL PROTECTED]>
Subject: [python-win32] Launch process
To: [email protected]
Message-ID: <[EMAIL
> >> Well, thats basically what I am doing now, but these object
> >> structures that are returned can be arbitrarily complex, with lists
> >> of objects that contain other kinds of objects, which have lists
> >> of even more objects. Having to walk through arbitrary object
> >> structures and loo
Mark Hammond wrote:
>> Really? This is not my experience. I am using whatever the default
>> policy is on all of my objects, and a test case very much like my
>> "Person" and "Title" example below fails unless I loop through the
>> `titles` attribute of my Person instances and manually wrap the
So I am using an interface where the .idl looks like this:
HRESULT getVersion(
[in, out] BSTR* Version,
[in, out] BSTR* error,
[out, retval] VARIANT_BOOL* );
[id(0x60030002)]
Now, I ran makepy, and tried to use th
Nevermind, I am an idiot, figured out my problem. Sorry to bother.
From: "Rex Corrovan" <[EMAIL PROTECTED]>
To: [email protected]
Subject: [python-win32] using a COM interface with [in, out]
Date: Wed, 24 Jan 2007 16:31:30 -0800
So I am using an interface where the .idl looks like this:
Rex Corrovan wrote:
> Nevermind, I am an idiot, figured out my problem. Sorry to bother.
What was the problem? You can help the next guy trying to do this.
--
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
___
Python-win32 mailing list
10 matches
Mail list logo