Jump to content
Sign in to follow this  

Download all the autoit forum "winks"

Recommended Posts


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'])
FileDelete ('extract.html')

enjoy ^^; :D

- John

Edited by John2006

Latest Projects :- New & Improved TCP Chat

Share this post

Link to post
Share on other sites

You must have been real bored. LOL :D We all usually benefit from your boredom tho. Thanks for sharing..

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this