Thanks for sharing this, it’s interesting to see the different (original) ways of doing stuff in max that isn’t clearly documented somewhere Just to make sure I’m understanding this correctly, this won’t work if I wanted to print one line in red and the next line in green, right? Because it seems to affect the text by “type”, so all of the print-statements in the listener would change color whenever I use this method, correct?
What I had in mind was that if I could change color on the text line by line, I could make my script outputs a bit easier to read. As an example, in my renaming-script I print the old name and the new name like this:
print (i as string + ": (OLD): " + objarray[i].name)
print (i as string + ": (NEW): " + newName)
It would be cool if I could print these in two different colors, but that’s probably not possible, right?