[python-win32] Re: getting a list of internet explorer instances?

Roger Upole rwupole at msn.com
Thu Jul 21 06:08:12 CEST 2005

The MSDN docs are here:


"Marcus Goldfish" wrote:
>> import win32com.client
>> sw=win32com.client.Dispatch('{9BA05972-F6A8-11CF-A442-00A0C90A8F39}')
>> for w in sw:
>>    print w.LocationURL
>> The GUID represents the ShellWindows class, found in
>> the makepy file for "microsoft internet controls".
> Yes, that helps a lot!  Can you explain the ShellWindows class a
> little more, or point me to a URL reference?
> Also, for others interested in this problem, I found two recipes in
> the Python cookbook:
> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/305273  (long)
> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/269345
> (similar to this solution)
> Thanks,
> Marcus 

More information about the Python-win32 mailing list