Walls192 Posted October 9, 2007 Share Posted October 9, 2007 I basical need my script to read a txt file then navigate to the link using ie, this my script simplified; #include <file.au3> #include <ie.au3> $line = FileReadLine("links.txt", 1) $oIE = _IECreate($line) But how do I now make it read the next line and continue untill txt file has no more links? Link to comment Share on other sites More sharing options...
JohnBailey Posted October 9, 2007 Share Posted October 9, 2007 I basical need my script to read a txt file then navigate to the link using ie, this my script simplified; #include <file.au3> #include <ie.au3> $line = FileReadLine("links.txt", 1) $oIE = _IECreate($line) But how do I now make it read the next line and continue untill txt file has no more links? Array #include <Array.au3> Local $fileLineArray _FileReadToArray("links.txt",$fileLineArray) For $i = 1 to Ubound($fileLineArray)-1 $oIE = _IECreate($fileLineArray[$i]) Next A decision is a powerful thing Link to comment Share on other sites More sharing options...
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