YoseMite Posted July 26, 2005 Share Posted July 26, 2005 Ey, I have a file on the web, and I download this with my AutoIT application. (InetGet() function) No problem, but I want a script that you can see the %. With GuiCtrlCreateProgress(). How can I make this? (Sorry for bad English) YoseMite Link to comment Share on other sites More sharing options...
Josbe Posted July 26, 2005 Share Posted July 26, 2005 Read in the helpfile about the macros: @InetGetActive = 1 while downloading, or 0 when finished. @InetGetBytesRead = the number of bytes downloaded, or -1 if there has been an error. (There is some examples in the forum too, sorry, I can't remember...) AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Link to comment Share on other sites More sharing options...
Valuater Posted July 26, 2005 Share Posted July 26, 2005 here is an example for yahttp://www.autoitscript.com/forum/index.ph...topic=8748&hl=#hope it helps8) Link to comment Share on other sites More sharing options...
Zedna Posted July 26, 2005 Share Posted July 26, 2005 And here is VERY SIMPLE example about princip of use Inetget on background: $size = InetGetSize('file on www') Inetget('file on www', 'file on disk', 0, 1) While @InetGetActive GUICtrlSetData ($status, Int(@InetGetBytesRead / $size * 100) & "%") Sleep(500) Wend But this is also in Helpfile in example to InetGet ... Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
buzz44 Posted July 27, 2005 Share Posted July 27, 2005 That at Gary's one .http://www.autoitscript.com/forum/index.php?showtopic=13663 qq 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