Re: [python-win32] using a COM interface with [in, out]

2007-01-24 Thread Tim Roberts
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

Re: [python-win32] using a COM interface with [in, out]

2007-01-24 Thread Rex Corrovan
Nevermind, I am an idiot, figured out my problem. Sorry to bother. From: "Rex Corrovan" <[EMAIL PROTECTED]> To: Python-win32@python.org 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:

[python-win32] using a COM interface with [in, out]

2007-01-24 Thread Rex Corrovan
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

Re: [python-win32] wrapping objects from a COM server

2007-01-24 Thread Jonathan LaCour
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

Re: [python-win32] wrapping objects from a COM server

2007-01-24 Thread Mark Hammond
> >> 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

Re: [python-win32] Python-win32 Digest, Vol 46, Issue 18

2007-01-24 Thread Tony Cappellini
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: python-win32@python.org Message-ID: <[EMAIL

Re: [python-win32] Launch process

2007-01-24 Thread Gabriel Genellina
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

Re: [python-win32] wrapping objects from a COM server

2007-01-24 Thread Jonathan LaCour
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

Re: [python-win32] windows text rendering question

2007-01-24 Thread Boris Borcic
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

[python-win32] Launch process

2007-01-24 Thread le dahut
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 Python-win32@python.org http://mail.python.org/mail