Sign in to follow this  
Followers 0
metis

StringBetween not work in loop

1 post in this topic

#1 ·  Posted (edited)

For $xd=0 To 4 Step +1
     _FFOpenURL("http://mepage.pl/news")
         _FFLoadWait()
         $sText = _FFReadHtml()
$between = _StringBetween(StringReplace($sText, @CRLF, ''), '<a class="name" href="', '">')
 _ArrayDisplay($between)
    ;MsgBox(0, "text", $between[$xd])
_FFOpenURL("http://mepage.pl" & $between[24] )
Msgbox(0, "Me-PAGE", "OPEN YOUR NEW PADE"& $between[24])
  Sleep (2000)
Next

Not work 2 times(first times good make) (two times as make show me error)

first times = if-0

two times = if-1'

HELP :) THX

Edited by metis

Share this post


Link to post
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
Sign in to follow this  
Followers 0