COM automation, Internet Explorer, DocumentComplete event

Graham Fawcett graham.fawcett at
Tue Jan 10 21:24:12 CET 2006

puff wrote:
> I'm able to catch IE's events including DocumentComplete with:
>     def OnDocumentComplete(self, pDisp, URL):
> so i have pDisp.  Self is the object returned by:
> = DispatchWithEvents("InternetExplorer.Application",
> InternetExplorerEvents)
> that created the automation object.  How do I perform the test in
> Python?

This recipe might give you some clues; you can use the Busy attribute,
instead of a DocumentComplete handler:


More information about the Python-list mailing list