Help me. How to open a new IE window?
Dave Brueck
dave at pythonapocrypha.com
Sat May 8 08:40:46 EDT 2004
angel wrote:
> I want python(win32com) to open a new IE window.
> Source is:
> /******/
> import win32com.client
> msie = win32com.client.Dispatch("InternetExplorer.Application")
> msie.Visible = 1
> msie.Naviagte(http://www.python.org)
> /******/
> The problem is the program always grabs a existed IExplorer window or
> Explorer window. It never opens a new window.
I ran into that same problem. Try this:
msie = win32com.client.DispatchEx('InternetExplorer.Application.1')
It seems to work for me.
-Dave
More information about the Python-list
mailing list