Menu

Feature request for ScriptCommunicator transmit

2023-04-16
2023-04-17
  • Daniel Marks

    Daniel Marks - 2023-04-16

    I humbly request the following:

    1. 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.

    2. 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

     
    👍
    1
  • Stefan Zieker

    Stefan Zieker - 2023-04-17
    1. 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:

    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.

    1. What is the reason for this (maybe I have a solution without modifying ScriptCommunicator)?
     
  • Pascal DELROT

    Pascal DELROT - 2023-04-17

    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

     
  • Stefan Zieker

    Stefan Zieker - 2023-04-17

    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
  • Stefan Zieker

    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.

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.