Re: [python-win32] Possible future direction for PyGUI on Win32

2011-02-28 Thread Tim Golden
On 28/02/2011 05:01, Vernon Cole wrote: Hmmm... projects get abandoned for many reasons. Michael: In your professional opinion would it be worthwhile to clone/fork/resurrect the pythonnet project, or is it a bad idea better left dead? Well, the last Svn commit was 4 weeks ago, by barton_c,

Re: [python-win32] Possible future direction for PyGUI on Win32

2011-02-28 Thread Tim Golden
On 28/02/2011 09:40, Tim Golden wrote: On 28/02/2011 05:01, Vernon Cole wrote: Hmmm... projects get abandoned for many reasons. Michael: In your professional opinion would it be worthwhile to clone/fork/resurrect the pythonnet project, or is it a bad idea better left dead? ... and what I

[python-win32] Problem with win32print.SetPrinter

2011-02-28 Thread Tefnet Developers
Hi, I am adding some printers connection as a user with win32print.AddPrinterConnection(). Afterwards I want to set paper size to A4 (I have no idea why Polish Windows XP sets it to Letter by default) with this example code: ==

Re: [python-win32] Possible future direction for PyGUI on Win32

2011-02-28 Thread Michael Foord
On 28 February 2011 05:01, Vernon Cole vernondc...@gmail.com wrote: Hmmm... projects get abandoned for many reasons. Michael: In your professional opinion would it be worthwhile to clone/fork/resurrect the pythonnet project, or is it a bad idea better left dead? Python.NET is a great

Re: [python-win32] [ANN] pywin32 build 216 released.

2011-02-28 Thread Michel Claveau
Hi! After some tests... Again the same error: --- Microsoft Visual C++ Runtime Library --- Runtime Error! Program: C:\Windows\System32\WScript.exe R6034 An application has made an attempt to load the C runtime library incorrectly. Please contact

[python-win32] (again) get Window Title encoding

2011-02-28 Thread Creative iNFiNiTY
here is some code to get the window title: hwnd = win32gui.GetForegroundWindow() # we want the desktop window objid = pyAA.Constants.OBJID_WINDOW # get the object ao = pyAA.AccessibleObjectFromWindow(hwnd, objid) pr=

[python-win32] Python Excel - 2 workbooks affect each other

2011-02-28 Thread Stefanie Lück
Hello! I have a strange excel behaviour if 2 workbooks are open. I’m trying to create an excel workbook with a bar chart from some data which comes from my wxPython program. If I paste the data into my program from any source except another excel file, everything works as expected. But if I

Re: [python-win32] Possible future direction for PyGUI on Win32

2011-02-28 Thread Vernon Cole
So with pythoncom on one hand and pywin32 on ironclad on the other you could go either way on either compiler? Sounds pretty neat. Is pythoncom python3 ready? (I haven't looked at source yet. Vernon Cole (sent from my 'droid phone) On Feb 28, 2011 2:58 AM, Tim Golden m...@timgolden.me.uk

Re: [python-win32] Possible future direction for PyGUI on Win32

2011-02-28 Thread Tim Golden
On 28/02/2011 4:33 PM, Vernon Cole wrote: So with pythoncom on one hand and pywin32 on ironclad on the other you could go either way on either compiler? Sounds pretty neat. Is pythoncom python3 ready? (I haven't looked at source yet. Certainly is. I've had my wmi module running against it

Re: [python-win32] Possible future direction for PyGUI on Win32

2011-02-28 Thread Tim Roberts
Greg Ewing wrote: The downside is that 2k and XP users may need to install a .NET runtime. How would people feel about that? Most XP users have long ago had 2.0, 3.0, and 3.5 runtimes pushed to their systems through service packs and updates. For 2000, the run-time installation is not very

Re: [python-win32] Possible future direction for PyGUI on Win32

2011-02-28 Thread Tim Roberts
Klonuo wrote: No, if I go this way, I would probably stop maintaining the current implementation. I don't want to have to support two backends on Windows, and some of the things I intend to do with Windows Forms would be impractical to do using the raw Win32 API. With all due respect to

Re: [python-win32] [ANN] pywin32 build 216 released.

2011-02-28 Thread Mark Hammond
On 28/02/2011 11:53 PM, Michel Claveau wrote: Hi! After some tests... Again the same error: --- Microsoft Visual C++ Runtime Library --- Runtime Error! Program: C:\Windows\System32\WScript.exe R6034 An application has made an attempt to load the C

Re: [python-win32] (again) get Window Title encoding

2011-02-28 Thread Mark Hammond
You might find the 'mbcs' encoding is what you are after? Cheers, Mark On 28/02/2011 11:22 PM, Creative iNFiNiTY wrote: here is some code to get the window title: hwnd = win32gui.GetForegroundWindow() # we want the desktop window objid = pyAA.Constants.OBJID_WINDOW # get the object ao =

Re: [python-win32] Possible future direction for PyGUI on Win32

2011-02-28 Thread Greg Ewing
Octavian Rasnita wrote: From: Greg Ewing greg.ew...@canterbury.ac.nz No, if I go this way, I would probably stop maintaining the current implementation. Oh, in that case imho I think this is a very bad idea. Can you elaborate on exactly what is bad about it, and suggest an alternative?

Re: [python-win32] Possible future direction for PyGUI on Win32

2011-02-28 Thread Greg Ewing
Tim Golden wrote: Python.NET seems to sit in an awkward place in the ecosystem. Its niche seems to be: where you want a small bit of .NET technology (such as SQL-SMO in my case) but don't want to migrate any win-specific Python code. (ie stuff relying on pywin32) Or, as in my case, you are

Re: [python-win32] [ANN] pywin32 build 216 released.

2011-02-28 Thread Michel Claveau
Re-re-re...! I found!!! The problem is linked to this line: import win32ui If I comment it (or delete), the problem disappears. If I de-comment, the problem come back. As I can replace win32ui, the problem is solved for me. But, if you want that I try some other things, I am available for

Re: [python-win32] [ANN] pywin32 build 216 released.

2011-02-28 Thread Michel Claveau
Re-re... etc. I have the same problem with ietoolbar.py (in C:\Python26\Lib\site-packages\win32com\demos) good night (here, it is late...) -- Michel Claveau ___ python-win32 mailing list python-win32@python.org

Re: [python-win32] Problem with win32print.SetPrinter

2011-02-28 Thread Roger Upole
I think this is dependent on the printer driver. Some use the paper size defined by the the form, and others use the PaperSize member. Roger Tefnet Developers develop...@tefnet.pl wrote in message news:129553.2645.29.camel@cacko... Hi, I am adding some printers connection as a user

Re: [python-win32] Python Excel - 2 workbooks affect each other [SEC=UNCLASSIFIED]

2011-02-28 Thread Andrew MacIntyre
[apologies for top post] I'm far from an expert, or even experienced, in Excel however the term paste rings bells. Behind the scenes, material in the clipboard has lots of metadata and a selection copied from one open workbook includes the references to that workbook so when you paste it

Re: [python-win32] Python Excel - 2 workbooks affect each other [SEC=UNCLASSIFIED]

2011-02-28 Thread David Hutto
On Mon, Feb 28, 2011 at 7:14 PM, Andrew MacIntyre andrew.macint...@acma.gov.au wrote: [apologies for top post] I’m far from an expert, or even experienced, in Excel however the term “paste” rings bells.  Behind the scenes, material in the clipboard has lots of metadata and a selection