naru Posted July 24, 2017 Posted July 24, 2017 (edited) How can i add sleep command using internet speed. If my internet speed is 40-50Kbps then sleep for 5 seconds, If my internet speed is 30-40Kbps then sleep for 4 seconds, If my internet speed is 20-30Kbps then sleep for 3 seconds. *Sleep command used bitween my costom script, Example, RunWait("rasdial /disconnect", "", @SW_HIDE) ; Stop connect from startSleep(5000) RunWait("rasdial Internet", "", @SW_HIDE) ; Connect again Edited July 24, 2017 by Nareshm
Deye Posted July 24, 2017 Posted July 24, 2017 You could perhaps try doing this with Ping and condition the Millisecond return if above 100 or if error then .. even by timing out InetGet with $INET_FORCERELOAD stand alone or as as a second check like if the ping command came slow or errors out ..
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