Moderators big_daddy Posted June 11, 2013 Moderators Share Posted June 11, 2013 (edited) I normally comment my code, but I what really tired last night. Dale has put a lot of work into documenting all the _IE functions. It would serve you well to read the AutoIt Help File. ; Returns an object variable containing the specified Tag collection ; @EXTENDED = specified Tag count ; Note: no need to store the return object as all we needed was the number of elements in the collection _IETagNameGetCollection($oIE, "input") ; Store the return value of @Extended to variable $iTagCount = @extended ; Loop through each element of the collection by index number ; DOM object collections start with an index value of 0 (zero) ; $iTagCount - 1 keeps us from going outside the collection bounds For $i = 0 To $iTagCount - 1 ; Get reference to the object by index value $i incremented each loop $oTag = _IETagNameGetCollection($oIE, "input", $i) If String($oTag.Value) = "Apply" Then _IEAction($oTag, "click") _IELoadWait($oIE) EndIf Next Edited June 11, 2013 by big_daddy Link to comment Share on other sites More sharing options...
crashnburn Posted June 11, 2013 Author Share Posted June 11, 2013 big_daddy you have been a blessing! Thank you very much for taking time to explain. I feel like I have a much more firm understanding of @exteneded now. Thank you again for all your help! big_daddy 1 Link to comment Share on other sites More sharing options...
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