Re: [python-win32] Impersonating an Admin User using a standard User

2007-04-30 Thread Tim Golden
Amit Arora wrote: > Hi Members, > > I am trying to use the Admin Privilidges of a user , by logging into the > system using a standard user.. > Am using the following code for impersonation . Also aware of > CreateProcessAsUser , guess I am not able to figure out the correct way > to h

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