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

Loop not looping ?

$
0
0
This works fine when the IP address is valid, however when it is not, it does loop - I can see it in the system tray  but when I make the IP address live again the MsgBox won't pop up.
Can someone point me in the right direction so it does or let me know what I have done wrong ?

$IP = Ping("10.20.32.166",3000)
While 1
If $IP Then
MsgBox(64,"It's Alive","It's Alive")
Exit
If @error Then ContinueLoop
EndIf
WEnd


Viewing all articles
Browse latest Browse all 12506

Trending Articles



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