Multine textbox with different colors for each line
Copy link to clipboard
Copied
Hi there,
I'm developing a simple tool for After Effects that feeds a multi line textbox with some log of the entire process. This same log can also be exported in a separate txt file later.
Is it possible to use different color lines on a multi line text box? My idea is using like red for errors, gray for info and green for success, for example.
I tried many times and I'm not coming up with anything. Almost sure it is impossible, but I wanted to hear from you wizards here 🙂
Thanks in advance.
Copy link to clipboard
Copied
I'd use a text animator, much easier.
- Expand your text layer on the timeline until you can see Animate
- Open this menu and add Fill Color
- Expand the new Animator 1 and expand Advanced
- Change the Units to Index
- Set Based On to Lines
- And then use the Start and End properties to set the colours.
You can add as many Animator Fills as you want.
But... just reading back your post... all the above was assuming you were wanting to display this in a text layer, are you actually wanting to create a coding interface? Something like Esprima code checker?
Copy link to clipboard
Copied
Hi there, thanks for the feedback, but thats not quite what I'm looking for.
I'm developing a UI panel script, and in this panel I have a multi line text box. Its an UI element, not an animation text box, like this:
In this box I'm having all the log being fed, e.g.:
[INFO] File1.aep opened.
[ERROR] There was a problem openening File1.aep
[SUCCESS] File1.aep opened succesfully.
What I would like to do is each of those lines be in a different color, but from what I gathered, I don't think its possible to use multiple color lines on a standard UI multi line text box.

