philkryder Posted January 26, 2015 Share Posted January 26, 2015 Just a quick note of thanks to all of you who make AUTOIT work for us. I had begun to post a problem I had with _IEPropertyGet But, first I checked and saw that there was a newer release 3.3.12.0 (was 3.3.10.2). I installed the new 3.3.12.0 and the problem was fixed. thanks again. Phil SciTE Version 3.3.7 Dec 12 2013 20:45:19 autoit (3.3.12.0) expandcollapse popup; Get a reference to a specific form by name. In this case, submit a query ; to the Google search engine. Note that the names of the form and form ; elements can be found by viewing the page HTML source #include <IE.au3> MsgBox(0,">>","**") Local $oIE = _IECreate("http://www.google.com") Local $iErrorSave = @error Local $iExtendedSave = @extended MsgBox(0,"after Create", _ "$iErrorSave>" & $iErrorSave & "<" & @CR & _ "$iExtendedSave>" & $iExtendedSave & "<") Local $oElements = _IETagNameAllGetCollection ($oIE) $iErrorSave = @error $iExtendedSave = @extended MsgBox(0,"after _IETagNameAllGetCollection", _ "$iErrorSave>" & $iErrorSave & "<" & @CR & _ "$iExtendedSave>" & $iExtendedSave & "<") Local $oElement Local $ieElementscount = 0 For $oElement in $oElements $iErrorSave = @error $iExtendedSave = @extended MsgBox(0,"after FOR elements", _ "$iErrorSave>" & $iErrorSave & "<" & @CR _ & "$iExtendedSave>" & $iExtendedSave & "<" & @CR _ & "$ieElementscount>" & $ieElementscount & "<" _ ) $sInnerHTML = _IEPropertyGet($oElement, "innerHTML") $iErrorSave = @error $iExtendedSave = @extended MsgBox(0,"after _IEPropertyGet", _ "$iErrorSave>" & $iErrorSave & "<" & @CR _ & "$iExtendedSave>" & $iExtendedSave & "<" & @CR _ & "$ieElementscount>" & $ieElementscount & "<" & @CR _ & "$sInnerHTML>" & $sInnerHTML & "<" _ ) If $sInnerHTML = "pending" Then $iErrorSave = @error $iExtendedSave = @extended MsgBox(0,"inside IF for pending", _ "$iErrorSave>" & $iErrorSave & "<" & @CR _ & "$iExtendedSave>" & $iExtendedSave & "<" & @CR _ & "$ieElementscount>" & $ieElementscount & "<" & @CR _ & "$sInnerHTML>" & $sInnerHTML & "<" _ ) EndIf $ieElementscount += 1 Next 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