Re: [python-win32] Input-only vs. In/Out Function Parameters

2006-10-30 Thread Mark Hammond
> ... > if type(retVal) == types.TupleType: # Like pythoncom, we special case a tuple. > # However, if they want to return a specific HRESULT, > # then they have to return all of the out arguments > # AND the HRESULT. > if len(retVal) == len(meth._gw_out_args

[python-win32] Programmatically capturing the text in a cmd

2006-10-30 Thread Roger Upole
Tim Roberts wrote: > Roger Upole wrote: > >>Tony Cappellini wrote: >> >> >>>In Windows XP, after a program has completed it's execution in a cmd >>>console... >>>Is there a way to *programmatically* capture the text that is in the >>>scrollback buffer? >>> >>>I usually set my buffers to 10K line

Re: [python-win32] Programmatically capturing the text in a cmd console,

2006-10-30 Thread Tim Roberts
Roger Upole wrote: >Tony Cappellini wrote: > > >>In Windows XP, after a program has completed it's execution in a cmd >>console... >>Is there a way to *programmatically* capture the text that is in the >>scrollback buffer? >> >>I usually set my buffers to 10K lines or more, so there is a lot of

[python-win32] Programmatically capturing the text in a cmd console,

2006-10-30 Thread Roger Upole
Tony Cappellini wrote: > In Windows XP, after a program has completed it's execution in a cmd > console... > Is there a way to *programmatically* capture the text that is in the > scrollback buffer? > > I usually set my buffers to 10K lines or more, so there is a lot of text I'd > like to capture.

Re: [python-win32] Programmatically capturing the text in a cmd console, for a program that has completed execution

2006-10-30 Thread Tim Roberts
Tony Cappellini wrote: > > In Windows XP, after a program has completed it's execution in a cmd > console... > Is there a way to *programmatically* capture the text that is in the > scrollback buffer? > > I usually set my buffers to 10K lines or more, so there is a lot of > text I'd like to captur

[python-win32] Setting attributes to a number of Excel cells

2006-10-30 Thread kc106_2005-pywin32
Hello list, We all know that it's better to set the values of a spreadsheet by building a squared virtual sheet first and then copy the whole thing over with one single range...value call. But Is there a more efficient way to set the attributes of a number of cells in Excel? I am noticing a s

[python-win32] Programmatically capturing the text in a cmd console, for a program that has completed execution

2006-10-30 Thread Tony Cappellini
In Windows XP, after a program has completed it's execution in a cmd console...Is there a way to *programmatically* capture the text that is in the scrollback buffer?I usually set my buffers to 10K lines or more, so there is a lot of text I'd like to capture. I want to do this programmatically, as

[python-win32] MySQL on Python 2.5

2006-10-30 Thread Robert Coggins
All, I am having trouble finding a module made to user MySQL on Pytho 2.5 on Windows. Could anyone point me to the right direction? The Windows MySQLdb will only install on my 2.4.3 version. Robert ___ Python-win32 mailing list Python-win32@python.or

Re: [python-win32] Excel and OLEObjects

2006-10-30 Thread Bob Gailer
Mark Norley wrote: > Hello > > I'm trying to insert an object into an Excel sheet with the following code: > > import win32com.client > xlapp = win32com.client.Dispatch("Excel.Application") > xlapp.Visible = 1 > xlapp.Workbooks.Add() > xlapp.ActiveSheet.OLEObjects.Add(FileName = "C:\\mytext.tx"', L

Re: [python-win32] How to get windows basic system informations like "Organization", and "User"

2006-10-30 Thread Tim Roberts
durumdara wrote: >Hi ! > >Many programs can present these basic informations: who's the user that >install OS, and what is the name of it's organization. >I want to get these infos. > >Can anyone help me how can I do it ? > > It's in the registry. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows

[python-win32] How to get windows basic system informations like "Organization", and "User"

2006-10-30 Thread durumdara
Hi ! Many programs can present these basic informations: who's the user that install OS, and what is the name of it's organization. I want to get these infos. Can anyone help me how can I do it ? Thanks for it: dd ___ Python-win32 mailing list Pyt

[python-win32] Excel and OLEObjects

2006-10-30 Thread Mark Norley
Hello I'm trying to insert an object into an Excel sheet with the following code: import win32com.client xlapp = win32com.client.Dispatch("Excel.Application") xlapp.Visible = 1 xlapp.Workbooks.Add() xlapp.ActiveSheet.OLEObjects.Add(FileName = "C:\\mytext.tx"', Link=False, DisplayAsIcon=False).Sel

Re: [python-win32] Parameterless propget in Python ActiveScriptincomplete

2006-10-30 Thread Johan Lindvall
On 10/29/06, Mark Hammond <[EMAIL PROTECTED]> wrote: > Could you please open a bug at sourceforge so this doesn't get lost, as I'm > afraid I don't have time right now to look at this... I've opened 1857023 for this bug: http://sourceforge.net/tracker/index.php?func=detail&aid=1587023&group_id=780