Forms with multiple submit buttons vs 'form' objects with single 'submit' methods

Tim Williams (gmail) tdwdotnet at gmail.com
Thu Apr 13 16:18:51 EDT 2006


On 13 Apr 2006 12:26:52 -0700, neil.fitzgerald at ic.ac.uk <
neil.fitzgerald at ic.ac.uk> wrote:
>
> Hi all,
>
>   I'm using pywin to write a script that will commandeer internet
> explorer to go to a certain website, where it will navigate menus, post
> forms, and eventually retrieve certain data.
>
>   Here's my question:  Suppose a form has more than one submit button.
> Now the COM 'form' object has a 'submit' method that doesn't take any
> arguments, so how do I tell it which button I want to press?
>
>   I'll be *unbelievably* grateful, for the rest of my natural life, to
> whomever has the answer to this.
>
>
Have a look at ishy_browser,  its in 2 parts at

http://www.ishpeck.net/index.php?P=b1115239318ishpeck

http://www.ishpeck.net/index.php?P=b1115225809ishpeck

HTH :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20060413/503c07b2/attachment.html>


More information about the Python-list mailing list