ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Setting Font & Style of Text Generated from Comp name

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Owen Rucker
Setting Font & Style of Text Generated from Comp name
on Apr 8, 2020 at 2:00:30 pm

I'm creating a Lower Third Template that's using SourceRectAtTime with the copy being generated based on the comp name with a Split expression. But I need the 2nd line of text to be a different font than the top. I haven't been able to wrap my head around the new .style expressions to get this to work. Any help would be appreciated.

Thanks!

comp("Top Line - 2nd Line").name.split(" - ")[0] + "\r" + comp("Top Line - 2nd Line").name.split(" - ")[1]


Return to posts index

Andrei Popa
Re: Setting Font & Style of Text Generated from Comp name
on Apr 8, 2020 at 2:37:17 pm

You need 2 layers. You can't set different font types for the same layer using expressions.

Andrei
My Envato portfolio.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2020 CreativeCOW.net All Rights Reserved
[TOP]