tommytx Posted May 21, 2010 Posted May 21, 2010 I frequetly use "instr" in vB6 and vbs, but autoit complains. Can anyone tell me what can be used to substitute this please. Here is what I am doing..for example. For $link In $links $cnt=0 if inStr($link.outerHTML, "class=s") then $cnt=$cnt+1 if inStr($link.outerHTML, "tabIndex=1") then $cnt=$cnt+1 if instr($link.outerHTML, "maxLength=11") then $cnt=$cnt+1 if instr($link.outerHTML, "size=3") then $cnt=$cnt+1 if $cnt=4 then $link.value=$price next Thanks in advance.
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