buymeapc Posted February 27, 2008 Share Posted February 27, 2008 Just curious if there was a way to check internet line speeds (Up/Down) using AutoIt. Link to comment Share on other sites More sharing options...
DW1 Posted February 27, 2008 Share Posted February 27, 2008 Probably a better way than this, but off the top of my head, you could just use IE.au3 to automate a speed test site (already a TON of those) in the backgrounds and then display the results in your GUI. AutoIt3 Online Help Link to comment Share on other sites More sharing options...
EnigmaV8 Posted February 27, 2008 Share Posted February 27, 2008 We need more info on what you're going for. Are you wanting throughput speeds? or just link speed determination (100Mb, 128kbps, etc)? Either way there is nothing directly in AutoIt for that, you'd have to find a separate cmdline utility and call that. Link to comment Share on other sites More sharing options...
buymeapc Posted February 27, 2008 Author Share Posted February 27, 2008 I basically want to do a line test for a modem and see what up/down speeds are coming down. It would be the same thing as going to dslreports.com and doing a speed test. Link to comment Share on other sites More sharing options...
FreeFry Posted February 27, 2008 Share Posted February 27, 2008 (edited) You could find a fast host(probably some speedtest site), and download a file from there with InetGet(should probably be a few MB's), downloading in the background, then calculate the download speed with @InetGetBytesRead..Edit:Something like this perhaps:Dim $File = "http://support.easystreet.com/easydsl/testfile.bin" InetGet($File, @TempDir & "\testfile.bin", 1, 1) Dim $UpdateTimer = TimerInit() Dim $oldBytesRead = 0 While @InetGetActive If TimerDiff($UpdateTimer) > 1000 Then ; 1 Second ConsoleWrite("Download Speed: " & ((@InetGetBytesRead-$oldBytesRead)/1024) & " kB/s" & @LF) $oldBytesRead = @InetGetBytesRead $UpdateTimer = TimerInit() EndIf WEnd Edited February 27, 2008 by FreeFry 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