mary Posted August 5, 2007 Posted August 5, 2007 I know that there is many solutions to download file (InetGetsource, or other activex or command line tools...)My queston is only about Internet Explorer. i.e how we can download file with IE without the SaveAs dialog box ?thinks a lot
tAKTelapis Posted August 6, 2007 Posted August 6, 2007 I get the impression you are talking about someone clicking on a link and the file just going directly to there computer.. with no prompts etc.? If so, thats not going to happen.
Gif Posted August 6, 2007 Posted August 6, 2007 (edited) That comes up with something similar: #include<IE.au3> $ie = _IECreate('http://www.autoitscript.com', 0, 0, 1, -1) $doc = _IEBodyReadText($ie) FileWrite(@DesktopDir &"\file.txt", $doc) Exit thinks a lotthink you very much EDIT: actually that works Edited August 6, 2007 by Gif
mary Posted August 8, 2007 Author Posted August 8, 2007 That comes up with something similar: #include<IE.au3> $ie = _IECreate('http://www.autoitscript.com', 0, 0, 1, -1) $doc = _IEBodyReadText($ie) FileWrite(@DesktopDir &"\file.txt", $doc) Exit think you very much EDIT: actually that works Sorry this works only if you want to download the html source code but it did not work for binary files like *.jpg or .zip ...etc
Gif Posted August 8, 2007 Posted August 8, 2007 (edited) Sorry this works only if you want to download the html source code but it did not work for binary files like *.jpg or .zip ...etc if you want to download a file from a url use INetGet() like: INetGet('http://www.autoitscript.com/images/autoit_6_240x100.jpg', @desktopdir &'\autoit logo.jpg') Exit also look here for another way Edited August 8, 2007 by Gif
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now