Jump to content

I can't find a way to click button in IE


Recommended Posts

There is few buttons and all of them have same value and name.

Only differences is action code in html.

<form method="post" action="/somestuffblahblahblah">

I didnt used autoit for ages so im lost in these things.

So how I could click button only knowing that action code.

$oButtons = _IETagNameGetCollection ($oIE, "INPUT")
For $oButton In $oButtons
If $oButton.action = "/peaceofletters" Then ;if that would work.. :
_IEAction ($oButton, "click")
ExitLoop
EndIf
Next

Sorry for my bad english.

Edited by SherminatoR
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...