Beege Posted November 11, 2009 Share Posted November 11, 2009 (edited) Always wanted to write a script that tells you your Upload and Download speed for all your network cards, and thanks to Yashied's recent example, it became possible (Thanks again Yashied!). Please drop me a line if you see something wrong or have some ideas I could add to it. This is written to work with 3.3.2.0. Thanks for Looking. Gui: Tray Icons: Network Meter.zip (Previous Downloads:310) Edits: Updated 12-31-09. Found and fixed problem where incorrect speed values were being returned in Vista/7. Updated 11-22-09. Added Tray icons for upload/download indicators. Updated 11-19-09. Made some minor tweaks and changed fixed bug with missing wireless adaptors in Vista/7. Edited December 31, 2009 by Beege Assembly Code: fasmg . fasm . BmpSearch . Au3 Syntax Highlighter . Bounce Multithreading Example . IDispatchASMUDFs: Explorer Frame . ITaskBarList . Scrolling Line Graph . Tray Icon Bar Graph . Explorer Listview . Wiimote . WinSnap . Flicker Free Labels . iTunesPrograms: Ftp Explorer . Snipster . Network Meter . Resistance Calculator Link to comment Share on other sites More sharing options...
Yashied Posted November 11, 2009 Share Posted November 11, 2009 Nice, but there is one problem. I tested it in Vista, and ... not work. My internet traffic goes through the Wi-Fi adapter (3Com) and Vista defines it as MIB_IF_TYPE_IEEE80211. In XP everything works well. Moreover, you combine the traffic from all adapters of a given type (if I'm not mistaken) which is not good. Try to play around in Vista with my example, using a variety of $MIB_IF_TYPE_... constants. You'll be amazed. My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
Beege Posted November 12, 2009 Author Share Posted November 12, 2009 (edited) Yashied, Thanks for letting me know about the bug. Im still running XP but will be going to windows 7 soon. Where did you find the values for all the $MIB_IF_TYPE constants? Ive been looking around MSDN IP helper section and can't find them. Thanks.Edit: Nevermind constants question. Edited November 18, 2009 by Beege Assembly Code: fasmg . fasm . BmpSearch . Au3 Syntax Highlighter . Bounce Multithreading Example . IDispatchASMUDFs: Explorer Frame . ITaskBarList . Scrolling Line Graph . Tray Icon Bar Graph . Explorer Listview . Wiimote . WinSnap . Flicker Free Labels . iTunesPrograms: Ftp Explorer . Snipster . Network Meter . Resistance Calculator Link to comment Share on other sites More sharing options...
Beege Posted November 22, 2009 Author Share Posted November 22, 2009 Update! Assembly Code: fasmg . fasm . BmpSearch . Au3 Syntax Highlighter . Bounce Multithreading Example . IDispatchASMUDFs: Explorer Frame . ITaskBarList . Scrolling Line Graph . Tray Icon Bar Graph . Explorer Listview . Wiimote . WinSnap . Flicker Free Labels . iTunesPrograms: Ftp Explorer . Snipster . Network Meter . Resistance Calculator Link to comment Share on other sites More sharing options...
nugame Posted December 26, 2009 Share Posted December 26, 2009 Good tool. Is the 11/22 update including the Vista/7 issue with wireless? works on my vista and I will review and test before I use as tool. thanks Dr SherlockAlways a way Link to comment Share on other sites More sharing options...
ChrisL Posted December 27, 2009 Share Posted December 27, 2009 Cool Works well [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
Beege Posted December 30, 2009 Author Share Posted December 30, 2009 Thanks for the comments guys. I just got windows 7 installed on my computer and as far as I can tell, this is NOT working. The values are all wrong. I am pretty sure its because some of the dll functions are not compatible with vista/7, but I'm not positive. I am looking into using the new functions written for vista and should hopefully be able to get something working soon.. Assembly Code: fasmg . fasm . BmpSearch . Au3 Syntax Highlighter . Bounce Multithreading Example . IDispatchASMUDFs: Explorer Frame . ITaskBarList . Scrolling Line Graph . Tray Icon Bar Graph . Explorer Listview . Wiimote . WinSnap . Flicker Free Labels . iTunesPrograms: Ftp Explorer . Snipster . Network Meter . Resistance Calculator Link to comment Share on other sites More sharing options...
corgano Posted December 31, 2009 Share Posted December 31, 2009 Thanks for the comments guys. I just got windows 7 installed on my computer and as far as I can tell, this is NOT working. The values are all wrong. I am pretty sure its because some of the dll functions are not compatible with vista/7, but I'm not positive. I am looking into using the new functions written for vista and should hopefully be able to get something working soon..I cannot wait for a win 7 compatible version. keep up the good work 0x616e2069646561206973206c696b652061206d616e20776974686f7574206120626f64792c20746f206669676874206f6e6520697320746f206e657665722077696e2e2e2e2e Link to comment Share on other sites More sharing options...
Beege Posted December 31, 2009 Author Share Posted December 31, 2009 Ok I figured out why I was getting incorrect speed values in Vista/7. It was not the dll function like I originally thought but how vista shows a lot more interfaces than xp does. For example, my PC has 2 network cards. A regular LAN card and a Wireless Card. Under XP, the dll function 'GetNumberOfInterfaces' returns the number 2, but under Vista/7 I get a large number of 27 . So in short the IFTABLE had a bunch of interfaces that I didn't need or want and my script was counting values multiple times. I changed it so that if the interface does not have a MAC address or the MAC address has already been added to the IFTABLE, don't add it. Hopefully all works well but please let me know if you feel its not working right. Assembly Code: fasmg . fasm . BmpSearch . Au3 Syntax Highlighter . Bounce Multithreading Example . IDispatchASMUDFs: Explorer Frame . ITaskBarList . Scrolling Line Graph . Tray Icon Bar Graph . Explorer Listview . Wiimote . WinSnap . Flicker Free Labels . iTunesPrograms: Ftp Explorer . Snipster . Network Meter . Resistance Calculator Link to comment Share on other sites More sharing options...
Leagnus Posted December 31, 2009 Share Posted December 31, 2009 (edited) Brilliant software! Thanks a lot! I was waiting for this for years because I'm using PowerPro as main shell instead of Explorer and PowerPro doesn't have any service to show network activity. It would be perfect to add more frequent blinkin to both uload/download parts of icon in hided state in tray. And to show amount of kB/sec on mouse hover. Edited December 31, 2009 by Leagnus Link to comment Share on other sites More sharing options...
Beege Posted December 31, 2009 Author Share Posted December 31, 2009 Brilliant software! Thanks a lot! I was waiting for this for years because I'm using PowerPro as main shell instead of Explorer and PowerPro doesn't have any service to show network activity.It would be perfect to add more frequent blinkin to both uload/download parts of icon in hided state in tray. And to show amount of kB/sec on mouse hover.Thankyou, but Im not quite sure what you mean when you say "more frequent blinking". Right now it updates the values once per second and the tray icons depends on weather your uploading/downloading or not. Also it should show you the kB/sec on mouse hover . Is that not working for you? Assembly Code: fasmg . fasm . BmpSearch . Au3 Syntax Highlighter . Bounce Multithreading Example . IDispatchASMUDFs: Explorer Frame . ITaskBarList . Scrolling Line Graph . Tray Icon Bar Graph . Explorer Listview . Wiimote . WinSnap . Flicker Free Labels . iTunesPrograms: Ftp Explorer . Snipster . Network Meter . Resistance Calculator Link to comment Share on other sites More sharing options...
Leagnus Posted January 1, 2010 Share Posted January 1, 2010 On my WinXp SP2 and PowerPro 4.9.06 no any info on mouse hover. "More frequent" that is because both triangles – up and down is lighting constantly and blink only from time to time. Link to comment Share on other sites More sharing options...
Beege Posted January 2, 2010 Author Share Posted January 2, 2010 (edited) Oh ok. The mouse hover might be a compatibility problem with Powerpro. And just so were clear, its not suppost to blink. Whenever your speeds are 0 kB/sec, the tringle should be gray. Anything above that it should be a solid blue. Blinking could be a nice little effect though. Might play with that idea in the future. Edited January 2, 2010 by Beege Assembly Code: fasmg . fasm . BmpSearch . Au3 Syntax Highlighter . Bounce Multithreading Example . IDispatchASMUDFs: Explorer Frame . ITaskBarList . Scrolling Line Graph . Tray Icon Bar Graph . Explorer Listview . Wiimote . WinSnap . Flicker Free Labels . iTunesPrograms: Ftp Explorer . Snipster . Network Meter . Resistance Calculator Link to comment Share on other sites More sharing options...
Tiotua Posted January 9, 2010 Share Posted January 9, 2010 I love this nice tool! Thanks a lot Link to comment Share on other sites More sharing options...
WhiteCrow Posted February 19, 2011 Share Posted February 19, 2011 Thank you for this nice example, i had trouble figuring out the total download speed. Now i know how Link to comment Share on other sites More sharing options...
pierrotm777 Posted March 13, 2011 Share Posted March 13, 2011 (edited) One of my friend as an issue with W7 64 bits !!! Do you have a solution please . Nice software that i use all days on my xp sp3. Thanks for this share Edited March 13, 2011 by pierrotm777 Link to comment Share on other sites More sharing options...
JohnOne Posted March 13, 2011 Share Posted March 13, 2011 One of my friend as an issue with W7 64 bits !!!Do you have a solution please .Nice software that i use all days on my xp sp3.Thanks for this shareAre you going to wait until someone asks you what the issue is? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
pierrotm777 Posted March 13, 2011 Share Posted March 13, 2011 Sorry, The message is : Problem retreiving Interface Table. Exiting Program Link to comment Share on other sites More sharing options...
martin Posted March 14, 2011 Share Posted March 14, 2011 Doesn't seem to give sensible figures for me. Eg reports about 100 times slower than other speed tests. This is assuming kB means kBytes, but if it means kbits then its 1000 times slower than reality. I'm using XP SP3. Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
Ascend4nt Posted March 14, 2011 Share Posted March 14, 2011 Just throwing this out there as an alternative : My contributions: Performance Counters in Windows - Measure CPU, Disk, Network etc Performance | Network Interface Info, Statistics, and Traffic | CPU Multi-Processor Usage w/o Performance Counters | Disk and Device Read/Write Statistics | Atom Table Functions | Process, Thread, & DLL Functions UDFs | Process CPU Usage Trackers | PE File Overlay Extraction | A3X Script Extract | File + Process Imports/Exports Information | Windows Desktop Dimmer Shade | Spotlight + Focus GUI - Highlight and Dim for Eyestrain Relief | CrossHairs (FullScreen) | Rubber-Band Boxes using GUI's (_GUIBox) | GUI Fun! | IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) | Magnifier (Vista+) Functions UDF | _DLLStructDisplay (Debug!) | _EnumChildWindows (controls etc) | _FileFindEx | _ClipGetHTML | _ClipPutHTML + ClipPutHyperlink | _FileGetShortcutEx | _FilePropertiesDialog | I/O Port Functions | File(s) Drag & Drop | _RunWithReducedPrivileges | _ShellExecuteWithReducedPrivileges | _WinAPI_GetSystemInfo | dotNETGetVersions | Drive(s) Power Status | _WinGetDesktopHandle | _StringParseParameters | Screensaver, Sleep, Desktop Lock Disable | Full-Screen Crash Recovery Wrappers/Modifications of others' contributions: _DOSWildcardsToPCRegEx (original code: RobSaunder's) | WinGetAltTabWinList (original: Authenticity) UDF's added support/programming to: _ExplorerWinGetSelectedItems | MIDIEx UDF (original code: eynstyne) (All personal code/wrappers centrally located at Ascend4nt's AutoIT Code) 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