MaCgyver Posted October 19, 2006 Share Posted October 19, 2006 I have the latest version of the public and beta release. However I can't get the command to work. Can someone post up an example?Below is what I saw in the help, but I am wondering if "oAutoIt" is supposed to be replaced with something.Set oAutoIt = WScript.CreateObject("AutoItX3.Control")oAutoIt.URLDownloadToFile "http://www.mozilla.org", "C:\foo.html"oAutoIt.URLDownloadToFile "http://www.hiddensoft.com", "C:\mydownload.htm" Link to comment Share on other sites More sharing options...
BitRot Posted October 19, 2006 Share Posted October 19, 2006 I have the latest version of the public and beta release. However I can't get the command to work.Its even worse : I just downloaded autoit-v3.2.1.10 (the .zip file), and I can't even find that command .... By the way : "InetGet" looks to be doing what you want. Link to comment Share on other sites More sharing options...
MaCgyver Posted October 19, 2006 Author Share Posted October 19, 2006 Its even worse : I just downloaded autoit-v3.2.1.10 (the .zip file), and I can't even find that command .... By the way : "InetGet" looks to be doing what you want.Ok. I will look into that command. Thanks Link to comment Share on other sites More sharing options...
Helge Posted October 19, 2006 Share Posted October 19, 2006 (edited) URLDownloadToFile was renamed to INetGet a long time ago, but it seems that AutoIt still allows the old function-name as an alias. So there's nothing getting worse, it's only that the name got better. Edited October 19, 2006 by Helge Link to comment Share on other sites More sharing options...
BitRot Posted October 19, 2006 Share Posted October 19, 2006 (edited) ThanksYou're welcome So there's nothing getting worsenot getting worse, is worse.Not getting a command to work is one thing. Not having a command (according to the documentation) is another (worse) thing. By the way : My reply was pretty-much a hint : "if all else fails read the manual" Edited October 19, 2006 by BitRot Link to comment Share on other sites More sharing options...
Helge Posted October 19, 2006 Share Posted October 19, 2006 Not getting a command to work is one thing. Not having a command (according to the documentation) is another (worse) thing. By the way : My reply was pretty-much a hint : "if all else fails read the manual" I used the word "getting" because as I said the function-name was changed. So when somethingchanges there's a process, and I felt that by using the word "getting" I placed the sentence in themiddle of this process in some way... sorry, that sounds kind of confusing I guess, but my Englishis very limited so I guess that's the best I can do... nitpicker And while we're at the btw's... my reply was pretty-much a hint : "the function was renamed" Link to comment Share on other sites More sharing options...
BitRot Posted October 19, 2006 Share Posted October 19, 2006 And while we're at the btw's... my reply was pretty-much a hint : "the function was renamed" For you (a long-time user I'm guessing) it was. For me (who only came to know AI from (its last stable) version v3.2.0.1) its just not there. As the OP did not indicate otherwise I had to assume that this was a first-time user, as long-time users would/should be aware of possible changes between versions, and have used the provided Help before anything else (whoops, that was is not ment as a put-down or anything like it, its just an observation). I did however think he could possibly have confused the function-name (URLDownloadToFile) from Windows own "urlmon" DLL. Link to comment Share on other sites More sharing options...
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