RickB75 Posted October 10, 2014 Share Posted October 10, 2014 Guys, I'm trying to figure out why I get "Undefined" links returned with this simple script. I get "undefined" links 85% of the time. #include <IE.au3> $oIE = _IECreate("http://www.toyotaofcoolsprings.com/searchnew.aspx?make=Toyota&model=RAV4") Local $oLinks = _IELinkGetCollection($oIE) Local $iNumLinks = @extended Local $sTxt = $iNumLinks & " links found" & @CRLF & @CRLF For $oLink In $oLinks $sTxt &= $oLink.href & @CRLF Next ConsoleWrite( "Link Info:" & $sTxt) Link to comment Share on other sites More sharing options...
MikahS Posted October 10, 2014 Share Posted October 10, 2014 ran it 5 times and got 234 links every time. Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ Link to comment Share on other sites More sharing options...
RickB75 Posted October 10, 2014 Author Share Posted October 10, 2014 (edited) MikahS, What version of Autoit are you running?? BTW - Thank you for testing Edited October 10, 2014 by RickB75 Link to comment Share on other sites More sharing options...
MikahS Posted October 10, 2014 Share Posted October 10, 2014 (edited) BTW - Thank you for testing Absolutely, my pleasure Latest and Greatest 3.3.12.0 Edited October 10, 2014 by MikahS Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ Link to comment Share on other sites More sharing options...
RickB75 Posted October 10, 2014 Author Share Posted October 10, 2014 I've got the same version. I just sent you a PM. Link to comment Share on other sites More sharing options...
lorenkinzel Posted October 10, 2014 Share Posted October 10, 2014 3.3.9.22 (Beta) 234 links Link to comment Share on other sites More sharing options...
RickB75 Posted October 10, 2014 Author Share Posted October 10, 2014 Thanks lorenkinzel. I'm having an issue with my main script. This was just a snip from it. Something is causing the IE window to return undefined links and I can't figure it out. Thank you for testing this piece for me!! Link to comment Share on other sites More sharing options...
MikahS Posted October 10, 2014 Share Posted October 10, 2014 Sent you the fixed code in the PM. Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ 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