[python-win32] comtypes question: getactiveobject(ie.__clsid) says

Roger Upole rwupole at msn.com
Sun Jun 29 03:48:43 CEST 2008


I think the officially sanctioned way to get a running IE
instance is now to enumerate the shell windows:

import win32com.client
shellwindows_guid='{9BA05972-F6A8-11CF-A442-00A0C90A8F39}'
for sw in win32com.client.Dispatch(shellwindows_guid):
    print sw.LocationName




More information about the python-win32 mailing list