Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Find Lines of Paragraph

  • Tomas Bumbulevičius

    July 4, 2019 at 6:10 pm

    Hey Ramiro, few questions:

    1. How big your area text box is in relation to comp size?
    2. How many lines it fits until reaching the boundaries, being full sized?

    As far as I remember, if text-area box contains more text & lines than it can fit, those lines disappear at the bottom. With that said – downscaling it won’t help.

    Find out more:
    After Effects Tutorials: motion design, expressions, scripting.
    Boxer – Dynamic Text Boxes Template with a Live Preview

  • Ramiro Dall’agnese

    July 4, 2019 at 7:02 pm

    It’s smaller than the comp. About half size.
    It’s meant to only fit a max of 4 lines.

    What I need is the text box to automatically tell a slider how many lines the box is currently holding. Whether it’s 1, 2, 3 or 4.

  • Kalleheikki Kannisto

    July 5, 2019 at 6:30 am

    Divide the internal source rectangle height by line spacing and round to nearest integer and you’ll have the number of lines. Since you can’t read line spacing with an expression, you have to use a variable that matches the line spacing value.

    Kalleheikki Kannisto
    Senior Graphic Designer

  • Ramiro Dall’agnese

    July 5, 2019 at 2:35 pm

    Fantastic. Thank you so much

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