Jump to content
Sign in to follow this  
EmptySpace

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

Recommended Posts

EmptySpace

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

Share this post


Link to post
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
Sign in to follow this  

×