Re: COM automation, Internet Explorer, DocumentComplete event

2006-01-13 Thread [EMAIL PROTECTED]
R. Bell, If you could sent me those URLS that are not working with PAMIE it would be great. It should be a quick fix. I haven't had any of the Users report this as of yet. I notice your writing an app that automates IE also, best of luck with it!! Rob -- http://mail.python.org/mailman/listinf

Re: COM automation, Internet Explorer, DocumentComplete event

2006-01-10 Thread puff
Thanks very much Roger. As you might have guessed, I'm rather new to Python. The notion that == does the job illustrates one of the reason's I've undertaken learning yet another new language (40+ years on, the language count is rather larger than I'd care to admit). I should also mention the fac

Re: COM automation, Internet Explorer, DocumentComplete event

2006-01-10 Thread Roger Upole
PythonCom interfaces implement __cmp__ so that you can just use a straight == comparison. hth Roger "puff" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm very new to Python and have a question concerning IE automation and > detection of page completion. > > The MSD

Re: COM automation, Internet Explorer, DocumentComplete event

2006-01-10 Thread puff
Without going into an overly long discussion, suffice to say that the busy attribute, notwithstanding Microsoft documentation to the contrary, simply doesn't work. BTW, there are a fair number of URLs for which PAMIE's combination of busy and readystate doesn't work. This scheme is somewhat bette

Re: COM automation, Internet Explorer, DocumentComplete event

2006-01-10 Thread Graham Fawcett
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: > > self.ie = DispatchWithEvents("InternetExplorer.Application", > InternetExplorerEvents) > > that created th

COM automation, Internet Explorer, DocumentComplete event

2006-01-10 Thread puff
I'm very new to Python and have a question concerning IE automation and detection of page completion. The MSDN article 180366 states in part: The top-level frame fires the DocumentComplete in the end. So, to check if a page is done downloading, you need to check if the IDispatch* parameter i