Quote from
Gaev on June 1, 2020, 2:59 pm
@jurica
Since you posted this in the VisualNEOWin section, I am assuming that you are going to use the DOS command ping ... as described in this article ...
https://www.howtogeek.com/355664/how-to-use-ping-to-test-your-network/
If so, you can ...
- use the Run command to initiate the command
- specify a subroutine to be notified when the command/process is done
- have its response directed to a local file (ping blahblahblah > pingresult.txt)
- in the subroutine, you can do a FileRead of the pingresult.txt file
- parse the contents of the file to determine if the ping succeeded or not
- change the color/caption of a Text object to indicate success/failure
@jurica
Since you posted this in the VisualNEOWin section, I am assuming that you are going to use the DOS command ping ... as described in this article ...
https://www.howtogeek.com/355664/how-to-use-ping-to-test-your-network/
If so, you can ...
- use the Run command to initiate the command
- specify a subroutine to be notified when the command/process is done
- have its response directed to a local file (ping blahblahblah > pingresult.txt)
- in the subroutine, you can do a FileRead of the pingresult.txt file
- parse the contents of the file to determine if the ping succeeded or not
- change the color/caption of a Text object to indicate success/failure
juricazg has reacted to this post.