Advertisement
B47CHGURU

Untitled

Jul 5th, 2011
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.48 KB | None | 0 0
  1. #include <String.au3>
  2. #include <Array.au3>
  3. #include <file.au3>
  4. #include <INet.au3>
  5. $r=1
  6. $r = InputBox("No: of lines in your list.txt","No: of lines")
  7.  
  8. $file = FileOpen("list43.txt", 0)
  9.  
  10. while $file
  11.     $ip=FileReadLine ( $file , $r )
  12.     If $ip = -1 then Exit
  13.     InetGet($ip, $r&"html", 1)
  14.    
  15.     If $r=27 Then
  16.         rosevelt ()
  17.     EndIf
  18.    
  19.     $r=$r+1
  20.    
  21.     WEnd
  22.    
  23. Func rosevelt ()
  24.     MsgBox(0, "total no: of lines read"& $r, "either it completed happily or cant read line")
  25.     Exit
  26.     EndFunc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement