Goto -
http://www.autoitscript.com/site/autoit/Get and install AutoIt
Start the editor and paste in -
#include <IE.au3>
#include <Array.au3>
$oIE = _IECreate("
http://www.hitechcreations.com/Flight-Sim/World-War-Two-Planes/downloads-skins-art.html",0,0)
$oLinks = _IELinkGetCollection ($oIE)
For $oLink In $oLinks
$isResFile = StringInStr($oLink.href,".res")
If $isResFile > 0 Then
$oFilename = StringSplit($oLink.href,"/")
InetGet($oLink.href,"C:\AH2\Skins\" & $oFilename[$oFilename[0]])
EndIf
Next
_IEQuit($oIE)
Then run it.
Will download all skins to C:\AH2\Skins\ (create directory before running script)
I have two exe's made from the above, one for x86 and one for x64, but no way to attach them.
To change the save location modify the path inside the quotes on this line (it must end with \) -
InetGet($oLink.href,"C:\AH2\Skins\" & $oFilename[$oFilename[0]])
Apologies for posting code Skuzzy.
Just a basic
a) Open the download page in the backgroud
b) Get a list of all the download links on the page
c) Check for links containing .res
d) Split the download path to get the filename
d) Download the file
e) When finished close the background ie instance