Jump to content

Lex

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by Lex

  1. Thank you, Malkey. I have run the script, and it works like a charms. And also thank you, UEZ and Enaiman for your help. Programming is making thing easier for user and harder for programmer isn't ? With all this program, I will look into the conversion of using if-else TTL script to regenerate TXT file. Again, many thanks.
  2. Oops , UEZ. I'm too into the Enaiman script and didn't notice that you have posted the reply. Thank you for help. I try to run your script, but nothing happen. I notice a console write at the end of ,that writes data to the STDOUT stream. But I don't understand how to exact the data. Please advise and thank you for your help.
  3. Thanks Enaiman ! I got the script running. Just need to take note that before running this script,I need to declare the variable before hand. Previously I run just using a line of sendln, and it give me a number of error. I was wondering, I can declare the variable before it read the variable, but what if I'm using if and if-else command at TTL script ? I try and it didn't work out. I'm trying to edit the TTL script to overcome this. Any advise on this ? Thanks Enaiman for your help.
  4. Hi Enaiman, Thank you for your prompt reply. I have try to run to run that script, but I got the following error, Subscript used with non-Array variable.: For $i = 1 To $TTLarray[0] For $i = 1 To $TTLarray^ ERROR I try to search the remedy and found that removing the "[0]" works, but lead to other error as follow, Array variable subscript badly formatted.: ReDim $TTLvarArray[$aCounter][2] ReDim $TTLvarArray[^ ERROR It will be great if this script works in converting TTL to TXT ! I'm looking forward , thanks.
  5. Thank you, Enaiman for your assistance. I have attached the TTL script to be converted and my desire output for the conversion. Reading XnY.ttl.txt My Desire Output.txt
  6. Is there any way to obtain TTL files format output to a text file ? example : TTL : sendln "hello" A ='705c00' sendln 'A' Text file : hello 705c00 Due to the Tera Term limitation, I can't close the Tera Term while sending command. What I do is I'm using txt file to send command to multiple Tera Term windows, but some TTL script are written as program language, hence I need to convert before sending it into Tera Term. Advise please.
×
×
  • Create New...