Jump to content

Recommended Posts

Posted

Do they both have the same inner text?  If not just use the second piece of code I posted in the example above which used InnerText property.

Posted

Not sure you understand my previous question, do both buttons say "Convert" or are they different?  If they are different then you can just use:

#include <IE.au3>
Local $oButtons = _IETagNameGetCollection($oIE, "button")
For $oButton In $oButtons
    If $oButton.InnerText = "Convert" Then
        _IEAction($oButton, "click")
        ExitLoop
    EndIf
Next

 

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
×
×
  • Create New...