how to send "set" as a text not a message to jit.gl.text


    Nov 19 2021 | 8:20 am
    I want to draw a text "set" using jit.gl.text. But when sending "set" message to "text $1", it will act as a message to the message object, that will not form a "text set" message. I wonder how to convert "set" message as a pure symbol not affecting message object as a message function. The "tosymbol" object does not work.

    • Nov 19 2021 | 8:50 am
      text "set " or text " set " if it needs to be in the absolute middle ...
    • Nov 19 2021 | 8:56 am
      unfortunately, list/pack/pak/sprintf/prepend also all understand a set command. but maybe there is an object which does not?
    • Nov 19 2021 | 9:04 am
      this works.
    • Nov 22 2021 | 6:35 pm
      Thank you Source Audio, I have been using this method, just that it adds extra "spaces" to the character which will affect my overall layout.
      Thank you Roman, this does work with "set" while not work other text that are used as messages to "trigger" object, such as "int, float, bang..." . Is there an universal way to transfer message as pure symbol?
    • Nov 22 2021 | 11:07 pm
      no. these commands are normal symbols. but if you make sure that the left to right order is taken care of in another way, you can omit the [t] object not send the input through the [t text], then it works for "int" and "float", too. though i am afraid that the jitter object will not allow you to pass "bang" (or "getsize" and everything else it understands.) i would replace it with "bong" or "bam". i mean, everyone knows what it means, no? :)
    • Nov 22 2021 | 11:07 pm
      or "bang."
    • Nov 29 2021 | 2:02 pm
      Thanks, I guess the ultimate way is to use "sel" to make each message-type symbols to pass through and trigger each individual readymade "text s", such as "text bang"