Re: [python-win32] Volunteer for list co-moderator

2010-11-11 Thread Mike Diehn
Sure, happy to lend a hand if you'd like. On Thu, Nov 11, 2010 at 4:46 PM, Mark Hammond wrote: > Hi all, > I just returned from nearly 2 weeks away with poor internet access and > found quite a few mailing list posts waiting moderation (mainly due to > postings by non-members). I'm letting them

[python-win32] Works in 2.6, doesn't in 2.7

2010-11-11 Thread robert2682
Hi, I've got a flaky problem. I'm working on a win32com based Excel add-in. The problem I've got is that under python 2.7, importing wx (wxPython) inside the Excel add-in fails. Under python 2.6, the same code works. I've written a sample program (attached) to demonstrate. To run: insta

Re: [python-win32] A question about COM in general

2010-11-11 Thread Tim Roberts
Eileen Wei wrote: > > I wonder if ctype can be used on C++ code as well? By searching on > line the answer I found seems to be that it can’t, but I don’t know if > those are the “right” answers. If ctype can be used on C++ then it > seems like the most straightforward way to go, is that correct? >

Re: [python-win32] How to make Python identify GUI buttons by their label

2010-11-11 Thread Tim Roberts
ChristopherTom wrote: > The contractor we hired told us that Python can only recognize GUI objects, > specifically buttons, by their ID. This is very inconvenient and hard to > work with as the button IDs change a lot between builds. Instead, I want to > reference a button by its label like "Save",

[python-win32] Volunteer for list co-moderator

2010-11-11 Thread Mark Hammond
Hi all, I just returned from nearly 2 weeks away with poor internet access and found quite a few mailing list posts waiting moderation (mainly due to postings by non-members). I'm letting them through now and I apologize if any of these messages are now "stale". To prevent this happening i

[python-win32] How to make Python identify GUI buttons by their label

2010-11-11 Thread ChristopherTom
The contractor we hired told us that Python can only recognize GUI objects, specifically buttons, by their ID. This is very inconvenient and hard to work with as the button IDs change a lot between builds. Instead, I want to reference a button by its label like "Save", "Preview", or "Submit." Does

[python-win32] Python and ASP - failure on 2nd and subsequent page loads

2010-11-11 Thread Thomas Gleeson
While debugging something else, I broke my Python ASP web site (powered by Mark Hammond's PyWin) getting the dreaded 'failure on subsequent page loads'.  This URL lead me to investigate if debugging was enabled for the web site.   http://old.nabble.com/win32com-and-extended-error-messages:-IDL-wi

[python-win32] WMI qualifier

2010-11-11 Thread ^_^Sisyphus^_^
Hi everyone, I start to use WMI python binding recently. I want to know whether there is any way to retrieve the qualifier information of a WMI object? For example, in Win32_Process the OtherTransferCountData has a unit in bytes but PageFileUsageData has a unit in kilobytes: OtherTransferCountData

Re: [python-win32] Internet Explorer constants&In-Reply-To=

2010-11-11 Thread Michele Tinti
Hi there! I wonder if you ever find a solution to the "save as" task for ie. Thanks in advance Michele Michele Tinti, PhD MRC Protein Phosphorylation Unit MSI/WTB Complex, Faculty of Life Sciences, University of Dundee Dow Street, Dundee DD1 5EH, Scotland, UK http://www.ppu.mrc.ac

[python-win32] WMI qualifier

2010-11-11 Thread ^_^Sisyphus^_^
Hi everyone, I start to use WMI python binding recently. I want to know whether there is any way to retrieve the qualifier information of a WMI object? For example, in Win32_Process the OtherTransferCountData has a unit in bytes but PageFileUsageData has a unit in kilobytes: OtherTransferCountData

Re: [python-win32] A question about COM in general

2010-11-11 Thread Eileen Wei
Hi Tim and Roberto, Thanks a lot for your reply. I somehow messed up with my account and didn't receive any email so I didn't see your replies until I checked the archive today, so sorry for the late reply. I wonder if ctype can be used on C++ code as well? By searching on line the answer I fo

Re: [python-win32] [Tkinter-discuss] Using Win32 API to get around Tkinter limitations?

2010-11-11 Thread Igor Novikov
On Fri, Oct 29, 2010 at 6:41 PM, wrote: > Hi Igor, > > > Why not use conventional tcl/tk functionality? It seems tcl/tk allows to > use cur/ani files for custom cursor: > > http://wiki.tcl.tk/8674 > > Thanks for your response. You are correct, under Windows the > cursor='@path/to/file.ext' techni

Re: [python-win32] [Tkinter-discuss] Using Win32 API to get around Tkinter limitations?

2010-11-11 Thread Igor Novikov
On Fri, Oct 29, 2010 at 10:02 AM, wrote: > Wondering if there are ways to use the Win32 API to get around the > following Tkinter limitations? > If you are familiar with winapi you can try using pywin32 extension: http://sourceforge.net/projects/pywin32/ > > 1. Inability to set custom mouse c