How does Color not show up in textbox?

Martin Schmid's icon

I'm trying to export data about clips.. specifically, trying to output the Color of each.. referring to this...

My script is below... you can see that the output to console provides a non-empty value, but when sending that to 'text', it's not comming through.. why is that? how to resolve? Ultimately, i'm using this data to inform an import of color data in another application.

TFL's icon

If you connect [print] after the $2 message you'll notice that the color value don't come up from there.

I suspect the color message to be an undocumented or old leftover feature of the message object, and what your color 1698303 message does to the message object is to actually change its color (that why it has that white tint on the top). Replace it by something like [zl.nth 2] and you'll be good.

Max Patch
Copy patch and select New From Clipboard in Max.

Martin Schmid's icon

bingo! Thank you so much!