Jump to content

ewwink

Members
  • Posts

    1
  • Joined

  • Last visited

ewwink's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Hello, I'm new with autoit and i knew very basic command to make dial-up connection and ping like below run("rasdial my-dial-up") Local $var = Ping("8.8.8.8", 2000) If $var > 182 Then; also possible: If @error = 0 Then ... MsgBox(0, "Status", "Online, roundtrip was:" & $var) Else MsgBox(0, "Status", "An error occured with number: " & @error) EndIf my question is how to make loop connection and loop ping? the idea is: 1. establish dial up connection 2. run ping max 5 times to find ping times under 100ms 3. if ping found show message box and exit the script 4. if ping not found disconnect and connect again the connection and repeat point number 2 Thanks
×
×
  • Create New...