separate IE instances?

Chris Curvey ccurvey at gmail.com
Mon Jun 13 15:09:34 CEST 2005


the good news is that if run the ShellExecute bit twice, I get two
instances of explorer in Task Manager

The bad news is that the line "ioObj = hwnds[1]" tells me either "This
object does not support enumeration" (if I have not used makepy to
generate the classes) or "object has no attribute __getitem__" (if I
have used makepy)

looking at the hwnds itself, it appears to be a

"win32com.gen_py.Microsoft Internet Controls.IWebBrowser2 instance"

If I call hwnds.Navigate("http://www.google.com"), I don't get an
error, but I also don't see anything change in IE.




More information about the Python-list mailing list