Jump to content

Syntax "for " not working in FF.au3


Recommended Posts

#include <ImageSearch.au3>
#include <AutoItConstants.au3>
#RequireAdmin
#Include <FF.au3>
If _FFConnect () Then
    ;_FFWindowOpen("http://www.geopostcodes.com/",True,True)
    _FFTabAdd( "http://www.geopostcodes.com/USA")
    ;WinWaitActive("Postal and ZIP Code database - GeoPostcodes - Mozilla Firefox")
    ;.//*[@id='browse']/table[2]/tbody/tr[51]/td[1]/a
    Global $i=2
    _FFWindowSelect()
    For $i=2 To $i=51 Step 1
       MsgBox(0,"","ss")
      $sObj = _FFXpath("//td[@id='browse']/table[2]/tbody/tr["&$i&"]/td[1]/a","",9)
      _FFClick($sObj)
      _FFAction("back")
   Next

Plesae, help me

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

×
×
  • Create New...