Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Thanks Vladimir!
I made a mistake with the file I was using. Everything is fine with the script. Thank you very much. This has saved me a lot of work.
I am now very interested in how this script works. If you don't feel that I abuse your willingness, can you briefly explain how the script works? The operation of file.view is particularly confusing to me as I don't know whether the value of the pointer or the contents of the file is stored in "p".
Hi, it worked perfectly. It was suppose to send the lines one by one, but it doesn't. I set a delay at the end of the "while" however is not the solution. How can I solve it?
I set the path to my txt file and run the script. I know it found the file but I get this error:
"Script transmit error: The filename, directory name, or volume label syntax is incorrect."
File name syntax is in MS-DOS format. "file.open("C:\TMP\script\text.txt", io.FileOpenFlags.ReadOnly);"
Text file looks like this:
8308864495038423916F010201020000628C1DA7628C1DA705F37E4CCDD503B40000000000000000007410020004FFBF0F001Ea199030600000000000000106000000000001A35DF02C8026962347EF0 8308864495038423916F010201020001628C1DA7628C1DA705F37E4CCDD503B40000000000000000007411020004FFBF0F001Ea199030600000000000000106100000000001B333702C8026A62347EF0
...those are just two lines, the file has many more.
What could I have done wrong?
Hello, I need to send several lines contained inside a TxT file, one at the time, over UDP. I am not very good at programming and would like someone to give me some advice. Thanks.
I currently do this manually every time I need to. It will be great if I can make it automatically.