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

2007-09-02 Thread MC
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

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

2007-09-02 Thread MC
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 -- http://mail.python.org/mailman/li

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

2007-09-01 Thread goodol
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 f