Re: [python-win32] Registering a Server COM to make it visibleinthereference list

2007-04-30 Thread Mark Hammond
Because dynamic COM server is a very interesting feature, I think than a external (optional) tool for generate TLB is better than the auto-create way. Yeah - it would only be done when explicitly enabled, but the generation of the typelib itself should be as automatic as possible. If a

[python-win32] Python COM and Photoshop

2007-04-30 Thread Sam The Cat
Help ! I am writing some COM code in Python to control photoshop. Several functions of PS require an Array argument. In the examples of VBscript or javascript the Array type is used. I have tried what would appear to be the equivalent in Python -- Lists and Tuples -- but to no avail. Anyone

[python-win32] Python Help needed - VerInstallFile API

2007-04-30 Thread Amit Arora
HI All, I need to install a package and check the return value using the VerInstallFile() API : The function declaration which I get on MSDN is : DWORD VerInstallFile( DWORD uFlags, LPCTSTR szSrcFileName, LPCTSTR szDestFileName, LPCTSTR szSrcDir, LPCTSTR szDestDir,