Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions AE Expression – Change some font properties with a textSource link

  • AE Expression – Change some font properties with a textSource link

    Posted by Robin Payet on August 12, 2020 at 1:28 pm

    Hi everybody,

    First time here.

    When I use the expression to duplicate a text layer to an another (thisComp.layer(“Copy that”).text.sourceText), I try to make possible to also duplicate some font style, like Bold or Italic.

    Exemple Here :

    On the top, the source text. On the bottom, the layer with expression. As you can see, on the source text, the word cool is on Italic. I want to see this on the bottom line too.

    I’ve done many research, and it seems that AE not provided this type of complexity before the version 17. Maybe it’s possible today to apply the font style when we use this type of expression ?

    Does someone already try this ?

    Thanks for your help ! 🙂

    thisComp.layer("Copy that").text.sourceText

    Robin Payet replied 5 years, 9 months ago 3 Members · 4 Replies
  • 4 Replies
  • Tom Szymanski

    August 13, 2020 at 9:22 pm

    I was trying to do something similar. This might help. It’ll copy everything in the Character window.

    Put this in the Expression: Source Text, and point it to the one you’re pulling the style from.
    parentStyle = thisComp.layer(“Parent”).text.sourceText.style

    Or this one if you want the style driven from another comp:
    parentStyle = comp(“Other Comp”).layer(“Other parent”).text.sourceText.style

    Dan Ebberts was an awesome help with my project that was similar!
    https://forums.creativecow.net/thread/227/45747

  • Filip Vandueren

    August 13, 2020 at 11:21 pm

    Hi Tom, you can change the style of texts now with expressions, but only for the entire text-layer, not individual words. It is not supported (yet ?)

  • Tom Szymanski

    August 13, 2020 at 11:26 pm

    Darn. I think you’re right. Sorry!

  • Robin Payet

    August 14, 2020 at 12:20 pm

    Thanks Tom and Filip,

    I knew that will be tough to resolve… Like you said Filip, for now, I hope.

    I will try to find something with javascript. Or as always, make a big mess that look cool… XD

    I’ll notice this post if I find something good.

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