Triblade Posted April 12, 2008 Author Share Posted April 12, 2008 Aha! I solved it! Since I use a Swedish version of windows the DOS return value is not "Recieved = 1" but rather "Mottagna = 1" and "time" is "tid".If you wish to fix multi-language support then you should use switch or select @OSLang at the beginning of your script and choose the right string Cool, thanks for the help in this! Or just use Regular Expressions so you don't have to worry about having an obscenely large conditional statement Okay, okay... I will have to switch to your 'hint' of REs. The reason I didn't used it before (when you showed in reply 2 or 3 or so) was that I don't fully understand it they way you used it.I will have to look into that, I do promise. It will take me one or two days before I'll fix it up because I have some other stuff to do...Thanks both! My active project(s): A-maze-ing generator (generates a maze) My archived project(s): Pong3 (Multi-pinger) Link to comment Share on other sites More sharing options...
bacobampense Posted April 14, 2008 Share Posted April 14, 2008 Triblade: Can you add the option to ping all the destinations saved on the ini? It helps if you need to check all your devices on the network at once. alex Link to comment Share on other sites More sharing options...
Triblade Posted April 15, 2008 Author Share Posted April 15, 2008 (edited) Can you add the option to ping all the destinations saved on the ini?It helps if you need to check all your devices on the network at once. alexI think I don't fully understand you..You can save all the current destinations in the program when pushing the s-button.Then when you reopen the program and press the ping buttons for all the destinations it will ping them.Edit: Or do you mean a one-push-pings-all button? Edited April 15, 2008 by Triblade My active project(s): A-maze-ing generator (generates a maze) My archived project(s): Pong3 (Multi-pinger) Link to comment Share on other sites More sharing options...
Triblade Posted April 16, 2008 Author Share Posted April 16, 2008 New version uploaded!!See first post.Most important/latest changes:Updated 16-04-2008: - Added: OnePushClicksAll-button. This a-button (press 'A'll-button) presses all start or stop ping buttons currently on the GUI Thanks to: bacobampense for giving me the idea (In post http://www.autoitscript.com/forum/index.ph...t&p=506202) - Added: More comment text - Changed: Added check in the check() function to see if the name to ping doesn't contain a space to speed up the faulty input detection - Changed: First octet check in the checkIP() function to accept only if 1 - 223 everthing else has a special meaning (224 = multicast etc) - Fixed: Regular expression from using the = to . (in ReEx that means every single char). This because when pinging 127.0.0.1 returns <1ms instead of =1ms - Changed: Added number to tooltip per destination and description inputfieldUpdated 15-04-2008: - Added: checkIP() function to check if the input IP or IP from DNSname if it is from 1.0.0.0 to 223.254.254.254 before pinging it - Added: Show error from DOS box. I just said 'Unknown error' when an error from a DOS box showed, but now I just steal the error msg from the box Updated 14-04-2008: - Changed: Redesigned fastpong function to use Sm0ke_N's created Regular expression. This because in different languages the English words don't apply Thanks to: Sm0ke_N for his Regular expression code (In post: http://www.autoitscript.com/forum/index.ph...t&p=448274)Aha! I solved it! Since I use a Swedish version of windows the DOS return value is not "Recieved = 1" but rather "Mottagna = 1" and "time" is "tid".If you wish to fix multi-language support then you should use switch or select @OSLang at the beginning of your script and choose the right string Could you try the newest upped version? Thanks! My active project(s): A-maze-ing generator (generates a maze) My archived project(s): Pong3 (Multi-pinger) Link to comment Share on other sites More sharing options...
monoceres Posted April 16, 2008 Share Posted April 16, 2008 This still doesn't work for me The text reads: Answer from 127.0.0.1 Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
Triblade Posted April 17, 2008 Author Share Posted April 17, 2008 (edited) This still doesn't work for me Thanks for keeping track of my program!I've sent you a pm as well.Could you also test this?:<removed attachement - bug is fixed see first page.>It contains a different 'returned time extractor' or however you want to call it. Edited April 19, 2008 by Triblade My active project(s): A-maze-ing generator (generates a maze) My archived project(s): Pong3 (Multi-pinger) Link to comment Share on other sites More sharing options...
Triblade Posted April 19, 2008 Author Share Posted April 19, 2008 Finally!! The last and most complete version is out! As far as I (and monoceres in his language) can see there are no more errors/bugs. 3.5 it is called. Get it from the updated first post. I hope there are no more bug reports. If not, this will be the last version. Thanks for all your wonderfull comments and insightfull views. My active project(s): A-maze-ing generator (generates a maze) My archived project(s): Pong3 (Multi-pinger) Link to comment Share on other sites More sharing options...
2words4uready Posted August 4, 2008 Share Posted August 4, 2008 $pinglbl[$currentnumber] = GUICtrlCreateInput("127.0.0.1", 10, $currentnumber * 30 + 12, 95, 17, BitOr($ES_AUTOHSCROLL, $SS_CENTER)) $pinglbl[$currentnumber] = GUICtrlCreateInput("127.0.0.1", 10, $currentnumber * 30 + 12, 95, 17, BitOr(^ ERROR >Exit code: 1 Time: 0.734 Link to comment Share on other sites More sharing options...
Triblade Posted August 5, 2008 Author Share Posted August 5, 2008 $pinglbl[$currentnumber] = GUICtrlCreateInput("127.0.0.1", 10, $currentnumber * 30 + 12, 95, 17, BitOr($ES_AUTOHSCROLL, $SS_CENTER)) $pinglbl[$currentnumber] = GUICtrlCreateInput("127.0.0.1", 10, $currentnumber * 30 + 12, 95, 17, BitOr(^ ERROR >Exit code: 1 Time: 0.734Thanks for the heads up! Your credited in the header. Script is fixed and uploaded in first post. New version: 3.5.1 Problem was that the newest version of AutoIt is a bit changed so that the GUI needs extra includes for style variables. (probably to save memory when not using them or something) So it was up to me to fix it, and it done My active project(s): A-maze-ing generator (generates a maze) My archived project(s): Pong3 (Multi-pinger) Link to comment Share on other sites More sharing options...
Triblade Posted July 22, 2010 Author Share Posted July 22, 2010 Yes, even years after release it's still updated Version 3.5.2 is released (see first post) to accommodate a bugfix and while doing that tested the script in the latest version of AutoIt and found it working. My active project(s): A-maze-ing generator (generates a maze) My archived project(s): Pong3 (Multi-pinger) Link to comment Share on other sites More sharing options...
steelwind345 Posted September 19, 2016 Share Posted September 19, 2016 This is still such a great tool! 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