[python-win32] Problem Controlling Internet Explorer

Mark Hammond mhammond@skippinet.com.au
Fri, 7 Mar 2003 16:13:51 +1100


> IE=Dispatch("InternetExplorer.Application")
> while IE.Busy:
>         pass

This is pretty evil - you will be chewing 100% of CPU.  At least put a
"sleep()" in.

Better, you should use IE events - see win32com\test\testExplorer.py

>                     window.open("/test2.html");

Does a fully-qualified URL work?  It may be that the "current drive" is
different in the 2 cases.

Mark.