Could there be an option that automatically adds a suffix such as a
CR,LF,CR/LF after the text entered in the transmit text field (the field
immediately below the receive console window) when sending the text to the
output (serial output for example)? Would it be possible to have an option
so that the sending could occur when "enter" is pressed in the text box, in
addition to when "Send" is clicked? This would make it easier to interact
with command-line based targets, so that one could compose a command in the
text box and then hit enter to send the command.
Could there be an option to erase the text field after the text has
been sent, so a new message could be entered?
ScriptCommunicator has the option 'send on enter key'. If your format is utf8 and you press enter at the end of your data then this will be send (CR, LF or CR+LF). Another possibility is to add a sequence sqript that adds it. Example:
Bonjour. Just to comment these suggestions :
1. The automatic adding (as option) for CR+LF will be really usefull. The missing and invisible CR+LF in the text field is most of the annoying things for ScriptCommunicator newbies. With time, I forgot that, but I have to explain this for every co-worker when introducing ScriptCommunicator.
2. Automatic erase may be usefull in some cases, for example sending AT commands to a modem ; I may also use it.
Best regards,
Pascal
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you send AT commands to a modem then it would be the best to store them as sequence in the send window. If you do that you can send them in the main window by double clicking them and you don't have to type them over and over again.
Last edit: Stefan Zieker 2023-04-17
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I humbly request the following:
Could there be an option that automatically adds a suffix such as a
CR,LF,CR/LF after the text entered in the transmit text field (the field
immediately below the receive console window) when sending the text to the
output (serial output for example)? Would it be possible to have an option
so that the sending could occur when "enter" is pressed in the text box, in
addition to when "Send" is clicked? This would make it easier to interact
with command-line based targets, so that one could compose a command in the
text box and then hit enter to send the command.
Could there be an option to erase the text field after the text has
been sent, so a new message could be entered?
Thank you,
Dan
profdc9@gmail.com
function sendData(data)
{
data.push(0x0d); //add CR
data.push(0x0a); //add LF
return data;
}
If you don't want to press the send button you can also press Alt+Enter.
Bonjour. Just to comment these suggestions :
1. The automatic adding (as option) for CR+LF will be really usefull. The missing and invisible CR+LF in the text field is most of the annoying things for ScriptCommunicator newbies. With time, I forgot that, but I have to explain this for every co-worker when introducing ScriptCommunicator.
2. Automatic erase may be usefull in some cases, for example sending AT commands to a modem ; I may also use it.
Best regards,
Pascal
Hi Pascal,
If you send AT commands to a modem then it would be the best to store them as sequence in the send window. If you do that you can send them in the main window by double clicking them and you don't have to type them over and over again.
Last edit: Stefan Zieker 2023-04-17
I have uploaded a prerelease here:
https://sourceforge.net/projects/scriptcommunicator/files/Test/
Please have a look at it and write me what you think.