Text size constraint

Scripting for After Effects

Text size constraint

Postby Mar10 on 09/30/2016, 9:15 pm

Hello, I'm Martin

I need help in creating a script or an expression to control the text size

I want to define the text width in relation to the comp size

left position = 10%
right position = -10

for example:
The text will be placed 10% from the left of the comp, and can expand all the way until 90% to the right, the text can NEVER go beyond 90% or go out of the screen, the text will resize or stretch as needed

If the words have less or more characters they will span or contract as needed to cover the center 80% of the screen:

That's all, I hope you can help me.
Thank You
Posts: 3
Joined: 09/30/2016, 9:00 pm
System Specs: Windows 7 quad core

Return to After Effects Expressions