Jump to content

Recommended Posts

Posted (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

EndIf

Next

Edited by ajdicky
Posted

We really don't need the bold and big letters, I belive we can read just fine.

While 1

WEnd

Is a endless loop.

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...