Aces High Bulletin Board

General Forums => Aces High General Discussion => Topic started by: bustr on May 11, 2012, 12:47:41 PM

Title: Speaking of Skin's and Downloaders.
Post by: bustr on May 11, 2012, 12:47:41 PM
What ever happened to that nifty little application for rapid downloading of skins (ahdown.exe)?
Title: Re: Speaking of Skin's and Downloaders.
Post by: Butcher on May 11, 2012, 01:37:01 PM
I tried looking for it, it must of been deleted with a patch upgrade.
Title: Re: Speaking of Skin's and Downloaders.
Post by: GhostRider2110 on May 11, 2012, 02:55:47 PM
I still had a copy of it, but it didn't work for the skins.. Only found some Terrains..  :headscratch:
Title: Re: Speaking of Skin's and Downloaders.
Post by: Kev367th on May 13, 2012, 12:52:04 AM
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
Title: Re: Speaking of Skin's and Downloaders.
Post by: guncrasher on May 13, 2012, 03:00:09 AM
nope mine is still in the original folder.  it's called ahdown.  ah doesnt delete files from it's folders. 

semp