quote:
Originally posted by -!Felu!-
quote:
Originally posted by andrewdodd13
var dlURL = "http://shoutbox.menthix.net/images/smilies/xso_wink.gif";
var localfile = FSO.BuildPath("<PATH TO SAVED LOCATION>");
var ret = Interop.Call('urlmon', 'URLDownloadToFileW', 0, dlURL, localfile, 0, 0);
You forgot to declare FSO
code:
var FSO = new ActiveXObject('Scripting.FileSystemObject');
Oops, that was silly! I just copied some code I'd already used and modified it slightly, should've checked it