Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

ping script

$
0
0
Hello all,

I'm trying to write a script that will ask for an address then ping it. I thought I had this correct, but it's not working at all.  Here's my code so far.

Also, I've only been working in AutoIt for about 3 days...so I'm still extremely green.

$storenum = InputBox("Destination", "What store are you querying?")
Local $var = Ping(" & $storenum")
If $var Then
	MsgBox(0, "Status", "Online, roundtrip was:" & $var)
Else
	MsgBox(0, "Status", "An error occured with number: " & @error)
EndIf


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>