{NL}--Xantios--- Posted September 23, 2006 Posted September 23, 2006 I am creating an download program , just to learn more about the inetget functon i already have a progress bar and a gui , but i need to know the download speed , is this posible ? or in other words , do i have to work with dll's ? or is there some function for it in AutoIt that i havent seen @ the help ?
BitRot Posted September 23, 2006 Posted September 23, 2006 i already have a progress bar and a gui , but i need to know the download speed , is this posible ?Yes. Simply display the number of bytes downloaded in each full second (a Bps value : Bytes per second)). Ofcourse, dividing it by 1024 first would be a good idea (you than get a KBps value : Kilo-Bytes per second).
{NL}--Xantios--- Posted September 23, 2006 Author Posted September 23, 2006 Yes. Simply display the number of bytes downloaded in each full second (a Bps value : Bytes per second)). Ofcourse, dividing it by 1024 first would be a good idea (you than get a KBps value : Kilo-Bytes per second).and how do i know that there has been done 1 second ? sleep(1000) will slow the progress bar
Zedna Posted September 23, 2006 Posted September 23, 2006 and how do i know that there has been done 1 second ? sleep(1000) will slow the progress bar TimerInit()TimerDiff()Look at Helpfile for examples... Resources UDF ResourcesEx UDF AutoIt Forum Search
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