Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Text Layout Expression for Auto Line Break and Spacing

  • Text Layout Expression for Auto Line Break and Spacing

    Posted by Chase Webb on June 20, 2017 at 12:49 pm

    Hello all!

    I regularly create compositions with scrolling team names for various sports. Right now I’m trying to create a comp with 950+ team names, one per line. As you can imagine it’s getting a little tedious. I’m using a single point text box, not fixed width, as I want the text to freely expand the text layer as needed. The text layer’s font size is 156 and my line spacing is 850 so only one name is on the screen at a time as they scroll. However, if a team name is too long and falls outside TV safe, I have to manually insert a return then set that next line’s spacing to 156 to match the font size so they form a nice two line block.

    My question is, would there be an expression to insert a line break after X amount of characters and set that next line to 156 line spacing, all while maintaining 850 line spacing between each team name? This would save me so much time it’s ridiculous, but I’m not particularly skilled at AE expressions. Does anyone know of an expression for this or even perhaps a script?

    Thanks!
    Chase

    Chase Webb replied 9 years, 1 month ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy