[python-win32] Help with accessing form elements and setting focus.

Tim Roberts timr at probo.com
Thu Dec 23 18:51:29 CET 2010

Pat McGuire wrote:
> I am new at programming with Python and am using Pythonwin.
> Is there a site that will show me how to access each type of form
> element, i.e. option, hrefs, links or examples of this.  Also how to
> set focus on a form element.

Actually, this is not really a Python question, nor a Pythonwin
question.  It's a question of how to use the InternetExplorer COM
object.  There is pretty good documentation for this (such as
http://msdn.microsoft.com/en-us/library/ms970456.aspx), although most of
the documentation is for C++ and VB.  The challenge, really, is figuring
out how to map the C++ calls into Python.  After you read up on those
objects, that's where we on this list can be of use.  Show us what
you've tried, tell us what doesn't work, and we can offer suggestions.

Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.

More information about the python-win32 mailing list