Loken Posted November 24, 2013 Posted November 24, 2013 Hi Autoit Forum , I want to learn how to click a submit who have to know class and value. <input class="classb" type="submit" name="R_YTRD" value="Sign In"/> Thanks ..
michaelslamet Posted November 24, 2013 Posted November 24, 2013 Hi Loken, One of the ways: $oLinks = _IETagNameGetCollection($oIE, "input") For $oLink In $oLinks If String($oLink.type) = "submit" And String($oLink.value) = "Sign In" Then _IEAction($oLink, "click") ExitLoop EndIf Next _IELoadWait($oIE, 1000)
Loken Posted November 24, 2013 Author Posted November 24, 2013 Hi Loken, One of the ways: $oLinks = _IETagNameGetCollection($oIE, "input") For $oLink In $oLinks If String($oLink.type) = "submit" And String($oLink.value) = "Sign In" Then _IEAction($oLink, "click") ExitLoop EndIf Next _IELoadWait($oIE, 1000) Thank you very much bro , your code works good.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now