z0mgItsJohn Posted April 7, 2009 Posted April 7, 2009 (edited) What it dose.. it gos to "http://www.autoitscript.com/forum/style_emoticons/autoit/" and extracts all the wink names from it and then downloads it and saves it to a folder called "winks"... simple basic and too the point.. xD source.au3 : #Include <File.Au3> DirCreate ('Winks') If FileExists ('extract.html') Then FileDelete ('extract.html') INetGet ('http://www.autoitscript.com/forum/style_emoticons/autoit/','extract.html') $Count = _FileCountLines ('extract.html') $Scan = '<tr><td valign="top"><img src="/icons/image2.gif" alt="[IMG]"></td><td><a href="' For $A = '1' To $Count $Read = FileReadLine ('extract.html', $A) If StringInStr ($Read, $Scan) <> '0' Then $String = StringReplace ($Read, $Scan, '') $String = StringSplit ($String, '">') If $String['0'] > '0' Then INetGet ('http://www.autoitscript.com/forum/style_emoticons/autoit/' & $String['1'], 'Winks/' & $String['1']) EndIf Next FileDelete ('extract.html') enjoy ^^; - John Edited April 7, 2009 by John2006 Latest Projects :- New & Improved TCP Chat
gseller Posted April 7, 2009 Posted April 7, 2009 You must have been real bored. LOL We all usually benefit from your boredom tho. Thanks for sharing..
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