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
--
Re!
Sorry! The good exemple is :
ie = win32com.client.Dispatch(InternetExplorer.Application)
window=ie.Document.parentWindow
print window.name
another :
window.alert(Aalleerrtt)
--
@-salutations
Michel Claveau
--
http://mail.python.org/mailman/listinfo/python-list
hello everybody
i am trying to automatie IE using python, and i want to access at the
parentWindow.document object
the code is like this,
import win32com.client
import pythoncom
ie = win32com.client.Dispatch(InternetExplorer.Application)
doc=ie.Document.parentWindow.document
the code always