Skip to main content
artrfx
Participant
May 16, 2022
Question

Expression to copy all text parameters to another comp

  • May 16, 2022
  • 2 replies
  • 543 views

Can I script text source to look at another text in a source comp and match sizing/kerning differences made in the source comp via script? I would need it to match kerning/text size (through character editor) per character.
So I could edit a text freely in one comp, and have those changes all update in some other comp's text I have the expression on?

This topic has been closed for replies.

2 replies

Dan Ebberts
Community Expert
Community Expert
May 18, 2022

Basically, no, you can't automatically apply multiple, per-character styles via expression (or script). Once you apply an expression to Source Text all characters are going to get the same styling/formatting as the first character.

artrfx
artrfxAuthor
Participant
May 18, 2022

Thanks! This was basically the same snag I kept running into, wasnt sure if I was missing anything. 

artrfx
artrfxAuthor
Participant
May 18, 2022

Yes? No?

Justin Taylor-Hyper Brew
Community Expert
Community Expert
May 18, 2022

Check out 

text.sourceText.style

https://helpx.adobe.com/after-effects/using/expressions-text-properties.html

 

Most likely only works if all your text is the same format.

artrfx
artrfxAuthor
Participant
May 18, 2022

Thanks for your response... I have tried everything on that page but this applies source of the style based on one specific letter or overall applied to the entire text. 
For text that need per character style, have that be mirrored, like the word "MacDonalds" in all caps, having smaller and larger letters be matched.