Advertisement
Guest User

Untitled

a guest
Jan 31st, 2015
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.37 KB | None | 0 0
  1. $textfile=FileOpenDialog("Choose file", "", "All File (*.*)", 3)
  2. If @error Then Exit MsgBox(16, "Error", "You didn't choose file yet!")
  3. $fData=FileRead($textfile)
  4. $fPath=FileSelectFolder("Save Icons To", "")
  5. $link=StringRegExp($fData, "\(https?(://.+?\.png)\)", 3)
  6. For $i=0 To UBound($link)-1
  7.    InetGet("http" & $link[$i], $fPath & "\Icon No." & $i+1 & ".png", 1, 1)
  8. Next
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement