Re: [python-win32] Boolean type changed in Python 3.0?

2010-01-04 Thread Mark Hammond
On 5/01/2010 3:51 AM, Sunny Carter wrote: Hi all, I'm trying my posting again with a different subject so that it is more generic. I am having problems calling across the win32 API using a Boolean argument in Python 3.0 (False in my python script) which is not recognised as a Boolean (The error I

[python-win32] win32com calling IE: OLE error 0x800704a6

2010-01-04 Thread Kees van Schaik
(This is a cross post from the Python mailing list where unfortunately nobody responded. I would be very grateful if someone could give me some insights!) Dear all, I have written a Python script that runs on Windows XP with Python 2.5 and uses Internet Explorer to 'pretty print' some HTML out

Re: [python-win32] Create a QueryInfo type Windows Shell Extension to provide InfoTip data in Windows Explorer

2010-01-04 Thread Tim Roberts
pyt...@bdurham.com wrote: > Wondering if its possible to create Windows Shell Extensions using > pywin32 and if so, has anyone has tried to create a QueryInfo type > Windows Shell Extension? Sure, it's possible. A shell extension is just a COM server. There are lots of example showing how to bui

[python-win32] Create a QueryInfo type Windows Shell Extension to provide InfoTip data in Windows Explorer

2010-01-04 Thread python
Wondering if its possible to create Windows Shell Extensions using pywin32 and if so, has anyone has tried to create a QueryInfo type Windows Shell Extension? I would like to create a Python equivalent of the simple InfoTip described in this well written tutorial. http://www.codeproject.com/KB/she

Re: [python-win32] Question concerning wmi c.CIM_DataFile

2010-01-04 Thread Mike Driscoll
On 1:59 PM, Tim Roberts wrote: Kelvin Lomboy Mendez wrote: I'm currently writing a script to access approximately 400 computers for removing a particular app from the system. I'm having problems getting results using the wmi c.CIM_DataFile (name=file). When I use file as a variable which equ

Re: [python-win32] Question concerning wmi c.CIM_DataFile

2010-01-04 Thread Tim Roberts
Kelvin Lomboy Mendez wrote: > > I’m currently writing a script to access approximately 400 computers > for removing a particular app from the system. I’m having problems > getting results using the wmi c.CIM_DataFile (name=file). When I use > file as a variable which equals to the path to the app I

[python-win32] Exception: object has no attribute 'Win32_Process'

2010-01-04 Thread Wade Dyck
I create a wmi connection to a server in a separate domain from where the script is running like this: remote = wmi.connect_server(server=server, user=r"%s\%s" % (domain, user), password=password, impersonation_level="impersonate") self.c = wmi.WMI(wmi=remote) I then successfully

[python-win32] Boolean type changed in Python 3.0?

2010-01-04 Thread Sunny Carter
Hi all, I'm trying my posting again with a different subject so that it is more generic. I am having problems calling across the win32 API using a Boolean argument in Python 3.0 (False in my python script) which is not recognised as a Boolean (The error I get back from setattr is 'Boolean value