Jump to content

download %


Recommended Posts

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

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 ...

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...