ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Center align a text box with a script.

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Andrei Popa
Center align a text box with a script.
on Dec 21, 2016 at 4:25:37 pm

I have a multitude of comps in which i have one char. I need to save the two anchor points of the char when it is LEFT_JUSTIFIED and RIGHT_JUSTIFIED. The char needs to be center aligned both times. It is initially LEFT_JUSTIFIED and in the center. But after i save the position and change the text to RIGHT_JUSTIFIED, i can't figure out how to put the character back in the middle of the composition to be able to save the second value of the position. I can do this by clicking the "horizontal center alignment" and the "vertical center alignment" in the after effects interface, but due to the high number of comps i have, this is not really a solution. I appreciate your support.

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved