Sending the delete key via UDP to a comment Box


    Apr 16 2019 | 12:29 pm
    Hi there, I made a little patch for a school class, where multiple participants can send text(actually it's single letters) via udp to a comment box. We used the ASCII values to trigger samples or synths and we thought it would be nice to see the actual text which we are writing. The audio part was running on the individual laptops, and the text part was using one selected laptop. I managed it, that the single letters were being send to individual comment boxes, but i can' send the [delete] key. So i can add letters, spaces and returns after each other but i can't delete them. I'm not sure what the problem is, or if this is even possible in this way. Help is very much apreciated. Check the Patch! My description might be a little bit confusing. :) Thx Luzi

    • Apr 17 2019 | 11:28 am
      ascii 127 = delete key
    • Apr 23 2019 | 6:30 am
      Hi there, Thx for your reply, but that wasn't what i was searching for. :) I know that the ACII for the delete key is 127 as you suggestet in your reply. But if the set message is triggered, the whole comment box is deleted and not just the last character I wrote. (As in a normal Text Programm).
    • Apr 23 2019 | 7:41 am
      you need a buffer-- this is one (clumsy) way to do it-- I'm sure there's others that are simpler:
    • Apr 23 2019 | 7:51 am
      Comment is not so simply rewriteable thing. You can't just take last char or anything specific away. Only prepend, append or set. You need something else for that. But as it is not clear at all who sends what, and what gets displayed and triggered where, I can't really help You. Anyway, why would You expect that using append message to comment box would make it possible to remove something ? Append allways adds something.
    • Apr 23 2019 | 2:04 pm
      I use mxi autobot https://sites.google.com/site/theoldmanthesea/download/
    • Apr 24 2019 | 8:07 am
      Hey there, Thx for your answers. The one with teh Buffer works! I had a similar idea in the mean time, but as i was working with a coll list, and not the zl objects, it was much too complicated :)