[python-win32] How can I get the parentWindow.document object?

MC XX.XmcX at XX.XmclaveauX.com
Mon Sep 3 00:59:48 EDT 2007


Hi!

> ie = win32com.client.Dispatch("InternetExplorer.Application")
> doc=ie.Document.parentWindow.document

Use bridge variable :
   window=ie.Document.parentWindow
And work with :
   print window.Document.body.name








-- 
@-salutations

Michel Claveau





More information about the Python-list mailing list