Walls192 0 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? Share this post Link to post Share on other sites
JohnBailey 1 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 Share this post Link to post Share on other sites