[python-win32] Autocad automation via COM: Passing coordinates as arguments (suggested fix within)

2006-01-25 Thread Dan Glassman
> From: wccppp <[EMAIL PROTECTED]> > Subject: [python-win32] question about COM again: variable type? > > [code] > ms.AddPoint([0.0, 0.0, 0.0]) # this line gives the problem > [/code] > > # Result is of type IAcadPoint > def AddPoint(self, Point=defaultNamedNotOptArg): > """Create

[python-win32] Re: Launching Windows' shortcut editor

2006-01-25 Thread Roger Upole
> Hi, I would like to invoke the same shortcut editor that you get when > you right cilck on a shortcut (link) and choose Properties. It lets > you edit the Target and Start In directories, etc. > I've tried: > win32api.ShellExecute (0, "Properties", filename, None, ".", > 0 ) >

Re: [python-win32] Launching Windows' shortcut editor

2006-01-25 Thread Tim Golden
[James Carroll] | Hi, I would like to invoke the same shortcut editor that you get when | you right cilck on a shortcut (link) and choose Properties. It lets | you edit the Target and Start In directories, etc. | | I've tried: | win32api.ShellExecute (0, "Properties", filename, | No

[python-win32] Launching Windows' shortcut editor

2006-01-25 Thread James Carroll
Hi, I would like to invoke the same shortcut editor that you get when you right cilck on a shortcut (link) and choose Properties. It lets you edit the Target and Start In directories, etc. I've tried: win32api.ShellExecute (0, "Properties", filename, None, ".", 0 ) win32ap

Re: [python-win32] exe version information and icon extraction?

2006-01-25 Thread James Carroll
> You can use win32api.GetFileVersionInfo to retrieve all the version > properties. See \win32\demos\getfilever.py for usage. Thanks everyone, that was easy. My resulting code looks like this: try: # if the target is an exe, get the file information pairs = wapi.GetFileVersionInfo(targe