ajdicky Posted March 27, 2008 Posted March 27, 2008 (edited) How do i get this loop to repeat alot of times?How do i get this loop to run/stop base on text in the webpage and skip to the next line?!Example$DWWESTLAND = _IEAttach("Westland")$sMyString = "Lumber Mill"$oLinks = _IELinkGetCollection($DWWESTLAND)For $oLink in $oLinks $sLinkText = _IEPropertyGet($oLink, "innerText") If StringInStr($sLinkText, $sMyString) Then _IEAction($oLink, "click") ExitLoop EndIfNext Edited March 27, 2008 by ajdicky
Swift Posted March 27, 2008 Posted March 27, 2008 We really don't need the bold and big letters, I belive we can read just fine. While 1 WEnd Is a endless loop.
weaponx Posted March 27, 2008 Posted March 27, 2008 Ditch the giant letters before a mod comes through and closes your thread. Also there is no such thing as a PHP link, links are HTML code.
ajdicky Posted March 27, 2008 Author Posted March 27, 2008 How do i get this loop to run/stop base on text in the webpage and skip to the next line?!
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