[python-win32] Re: Try to got short path for files - but got error...

2006-05-25 Thread Roger Upole
One thing to bear in mind is that short path names won't always be available. You can disable them on NTFS systems. Roger ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Getting pywin32 build number

2006-05-25 Thread Luc Saffre
I support Justin's request: the pywin32.version.txt has been a big step forward, but it is still not easy to get this information (in a reliable way) from within user code. Python packages usually provide a __version__ variable in their __init__.py.

Re: [python-win32] Try to got short path for files - but goterror...

2006-05-25 Thread Metz, Bobby W, WWCS
Mark, Thanks for that. I didn't read an earlier entry from the submitter close enough. Someone else had told them that GetShortPathName wasn't supported but I didn't pay attention to the W at the end...could have saved myself a couple of posts if I had. I'll chalk my lack of clear

Re: [python-win32] Try to got short path for files - but goterror...

2006-05-25 Thread John Machin
On 25/05/2006 8:12 PM, Metz, Bobby W, WWCS wrote: Mark, Thanks for that. I didn't read an earlier entry from the submitter close enough. Someone else had told them that GetShortPathName wasn't supported but I didn't pay attention to the W at the end...could have saved myself a couple

[python-win32] Getting the text out of a TVirtualStringTree

2006-05-25 Thread João Paulo Fernandes Farias
Hi there! I've managed to get the text out of a SysListView32 and from a SysTreeView32. I've made a C extension for it. :-P Now I need to get the text out of a TVirtualStringTree, but that seems more difficult than other controls cause it is not a windows control, but a custom control. Anyone

[python-win32] 0.3.5 Moved to Metaclass control wrapping (and some mini fixes)

2006-05-25 Thread Mark Mc Mahon
Hi, 0.3.5 release of pywinauto is now available. pywinauto is a set of open-source (LGPL) modules for using Python as a GUI automation 'driver' for Windows NT based Operating Systems (NT/W2K/XP). SourceForge project page: http://sourceforge.net/projects/pywinauto Download from SourceForge

Re: [python-win32] Getting pywin32 build number

2006-05-25 Thread Luc Saffre
On 25.05.2006 15:32, Mark Hammond wrote: I'm open to patches that meet this compromise... I am just thinking aloud... mkdir win32 echo '__version__=209' win32/__init__.py echo 'File win32/__init__.py contains the version number' \ pywin32.version.txt Afterwards it isn't even

[python-win32] Method is actually a property

2006-05-25 Thread Dana Robinson
Hello, I'm trying to use a COM object that has a function with a signature like this: HRESULT put_Foo(int i, DOUBLE val); The code generated by makepy includes this: # The method Foo is actually a property, but must be used as a method to correctly pass the arguments def Foo(self,

Re: [python-win32] deviceiocontrol string format

2006-05-25 Thread John Machin
On 26/05/2006 4:43 AM, [EMAIL PROTECTED] wrote: Dear All, I am new to python win32, and i cannot figure out how to format the data string for deviceiocontrol code with win32file. I have the following c struct in my driver file: typedef struct _WRITE_DEVICE_DATA_INPARAMS { UCHAR

[python-win32] Fixed - Method is actually a property

2006-05-25 Thread Dana Robinson
I found the solution to my own problem. I didn't realize that makepy would make me a set function with a Set prefix. D ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Try to got short path for files - but goterror...

2006-05-25 Thread Mark Hammond
On 25/05/2006 8:12 PM, Metz, Bobby W, WWCS wrote: Mark, Thanks for that. I didn't read an earlier entry from the submitter close enough. Someone else had told them that GetShortPathName wasn't supported but I didn't pay attention to the W at the end...could have saved myself a