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');
quote:
Originally posted by John Anderton
I don't know if i should save this but imo there isn't any practical use to this script. If you know the url why not open it in your browser and save it?
With a script
. This might be used for downloading Script Updates etc. Though downloading a image is not needed
.