olivarra1 Posted May 23, 2008 Share Posted May 23, 2008 well i've just found my problem well i've IE6 but a friend have IE7 and he have told me the problem: it's when he wants to know a link 1 _IENavigate($oIE, "www.google.com") 2 $oLinks = _IELinkGetCollection($oIE) 3 For $oLink In $oLinks 4 $link = $oLink.href 5 ; another piece of code 6 Next well so the error it's in line 4, in the error msgbox it says "$link = $oLink.href^error // Error: the requested action with this object has failed" anithing to fix it? Thank you very much, olivarra1 Link to comment Share on other sites More sharing options...
Valuater Posted May 23, 2008 Share Posted May 23, 2008 Maybe,,, #include <IE.au3> $oIE = _IECreate() _IENavigate($oIE, "www.google.com") $oLinks = _IELinkGetCollection($oIE) $link = "" For $oLink In $oLinks $link &= $oLink.href & @CRLF Next MsgBox(0x0, "Test", $link) ... TESTED OK 8) 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