ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Connect multiple text layers with one script

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Dmitriy Khomyakov
Connect multiple text layers with one script
on Feb 9, 2019 at 8:14:11 pm

Hello to all. I connected the three lower layers with the first. When you change the text in the first layer, then the tex changes in all three layers (Source Text), but I am faced with a problem. When changing the font size in the first layer, in the remaining layers the font size does not change. Help make sure that by changing the size of the text in the first layer, it is automatically changed in the rest.
Привет всем. Я связал три нижних слоя с первым. Когда изменяешь текст в первом слое, то текс меняется во всех трех слоях (Source Text), но я столкнуля с проблемой. При изминение размера шрифта в первом слое, в остальных слоях размер шрифта не меняется. Помогите сделать так, что бы изменяя размер текста в первом слое, он автоматически изменялся в остальных.


Return to posts index

Dan Ebberts
on Feb 9, 2019 at 8:25:56 pm

You can't control font size with an expression, but you might be able to come close with a scale expression like this:

r = thisComp.layer("JOB").sourceRectAtTime(time,false);
r2 = sourceRectAtTime(time,false);
s = (r.width/r2.width)*100;


Return to posts index

Dmitriy Khomyakov
on Feb 9, 2019 at 8:40:05 pm

Does not work

Return to posts index

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