pychecker

2007-06-04 Thread puff
I'm new to pychecker. Some of my code generates the following No class attribute (HWND) found While HWND is not an attribute of the class, it IS an attribute of the instance created (my class is one of several classes used to create the new class). Can I use __pychecker__ to selectively

Re: winguiauto

2006-02-07 Thread puff
Thanks Simon. I looked at the other two and ended up using your version unmodified as the changes in watsup and pywinauto dealt with things unique to their needs. Your code still addresses basic needs and rather well at that. Regards -- http://mail.python.org/mailman/listinfo/python-list

com how to PumpWaitingMessages in a thread

2006-02-06 Thread puff
When interfacing to a COM object, is it possible to pump messages in a thread? I'm working on an application that automates IE and needs to monitor IE events (yes I know about Pamie). I'm able to start IE as follows: ie = win32com.client.DispatchWithEvents( object, YamieEvents )

DispatchWithEvents PumpWaitingMessages

2006-01-31 Thread puff
I'm working on a com automation project involving IE (yes, I know about Pamie). I connect to IE through DispatchWithEvents, start a navigation, and then loop calling PumpWaitingMessages. I see the events OK and all is well. At some point it is clear that the navigation is complete (at least

winguiauto

2006-01-30 Thread puff
There seem to be a number of winguiauto(s) available on the net. Is there any 'offical' version? -- http://mail.python.org/mailman/listinfo/python-list

Re: winguiauto

2006-01-30 Thread puff
You'll have to give me a bit of slack as I'm new to python. Much python development seems to be hosted on sourceforge. There are a couple of copies there with a number of modifications that seem to center on waiting for windows to exist. There is also the copy on Brunning's site without these

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

Where to report Python bug?

2006-01-10 Thread puff
I'm very new to Python and have encountered what appears to be a bug when using com automation of IE with events. I get exception messages that look like this: pythoncom error: Python error invoking COM method. Traceback (most recent call last): File

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

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