Jump to content

help!?


Recommended Posts

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
Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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