[python-win32] Need help with COM

andrew.miller at verizon.com andrew.miller at verizon.com
Mon Oct 20 15:31:07 EDT 2003


Hi All,


I am new to Python and COM and have run into some problems.

I am trying to write a COM program that will interact with
MS Internet Explorer.

Using code like:

from win32com.client import Dispatch
ie = Dispatch ('InternetExplorer.Application')
ie.Visible = 1

I have been able to start IE, navigate and submit forms.

My problem is that one of the pages I navigate to opens up a new
browser window.

How do I navigate and work with this new (child) window instead
of the parent browser?


Thanks in advance.






More information about the Python-win32 mailing list