[python-win32] HookMessage fails

2007-05-14 Thread TK Soh
Greeting. I built a custom dialog which would be resized by a handler connected with HookMessage() to win32con.WM_SIZE. The dialogs are actually called from the shell extension's context menu. Every seemed to work well at first. The I noticed the resize handler is only called on the dialogs that

Re: [python-win32] Referencing IE's DOM when using free threadwin32com.client.DispatchWithEvents

2007-05-14 Thread Richard Bell
Rex, I have looked at PAMIE rather carefully. Indeed, about a year ago I exchanged a number of emails with one of the authors. There are a couple of underlying problems with PAMIE's approach to IE automation. The most serious is that it doesn't do a very good job of detecting page completion. I

Re: [python-win32] translating VB into Python...

2007-05-14 Thread Michael March
> Michael March wrote: > > I have some sample code with this: > > > >object.Field("UserDefined_01") = "Open" > > > > Python barfs on that.. what would be the equivalent of that in Python? > > > > Usually: > object.Field("UserDefined_01").Value = "Open" > > VB has the concept of a "default p

Re: [python-win32] Referencing IE's DOM when using free threadwin32com.client.DispatchWithEvents

2007-05-14 Thread Rex Corrovan
So I am not sure what research you have done, or if this is inherited, or how much refactoring you would need to do, but out of curiousity, have you thought about using PAMIE? I have used it with quite a lot of success. It may not be the answer you are looking for, but you might want to have a l