> 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
> 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 )
>
[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
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
> 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