pcjunki Posted May 10, 2012 Posted May 10, 2012 here's my sample code i use, it launch cmd, and types out ping for you so all you have to do is type in a computer/server name, or ip address Run ("C:\Windows\System32\cmd.exe") SLEEP(100) Send("cd{SPACE}\{ENTER}") Send("cls{ENTER}") Send("ping{SPACE}") JScript 1
JScript Posted May 10, 2012 Posted May 10, 2012 Very good, AutoIt is synonymous of automation! Regards, João Carlos. http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!) Somewhere Out ThereJames Ingram Download Dropbox - Simplify your life!Your virtual HD wherever you go, anywhere!
FaridAgl Posted May 11, 2012 Posted May 11, 2012 There is also a built-in function to do this.Here you go: http://www.autoitscript.com/autoit3/docs/functions/Ping.htm http://faridaghili.ir
JScript Posted May 12, 2012 Posted May 12, 2012 But we can not stay only with the internal functions, and he was creative too! Regards, João Carlos. http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!) Somewhere Out ThereJames Ingram Download Dropbox - Simplify your life!Your virtual HD wherever you go, anywhere!
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