[python-win32] Webbrowser control and Tab Navigation

Christof Ecker christof.ecker at googlemail.com
Wed Jun 11 10:36:21 CEST 2008


2008/6/10 Mike Driscoll <mdriscoll at co.marshall.ia.us>:
> Christof Ecker wrote:
>>
>> Hi all,
>>
>> I am using the webbrowser control (internet explorer) as display
>> component in a project. Unfortunately the Tab and Enter keys do not
>> work, i.e. it is impossible to switch between input fields of the
>> displayed html-page and it is impossible to enter a newline in an
>> input field.
>>
>> The shortened listing is below.
>>
>> Can anyone help?
>>

> You might want to re-post this to the wxPython user's group just in case
> you're missing a wx method. I use wxPython extensively, but I'm not familiar
> with that particular widget. The link to the mail list is below:
>
> http://wxpython.org/maillist.php
>
> Also, there's the PAMIE project which you may or may not find useful:
> http://pamie.sourceforge.net/
>
> I personally have used the SendKeys module to automate IE, however it's
> rather like black magic and kind of sucks:
> http://www.rutherfurd.net/python/sendkeys/
>

This turned out to be a wxpython specific problem and not a IE problem
as I thought. The solution is to use the IE widget of wx
(wx.lib.iewin.IEHtmlWindow).
Thanks for the help,
Christof

PAMIE is quite impressive, I should have known it before.

> -------------------
> Mike Driscoll
>
> Blog:   http:\\blog.pythonlibrary.org
> Python Extension Building Network:     http:\\www.pythonlibrary.org
>
>
>


More information about the python-win32 mailing list