Skip to main content
Participant
February 20, 2020
Question

ExtendScript: control font settings of substrings within a layer

  • February 20, 2020
  • 3 replies
  • 519 views

Heyo!
I'm trying to automate the creation of the same comp but with different text and fonts

Some layers have text different font styles (e.g. "Hello world!").

I would like to be able to insert text (e.g. "Goodmorning planet!") and specify what style each word has (ideally, "Goodmorning planet!")

But by changing the text of the TextDocument object, it defaults all the text to a single font style (the one of the first character).

 

Is there a way to specify character-per-character which font to use?

Maybe there is an option that allows AE to read text as it was Markdown (e.g. **this text is bold** = this text is bold)

 

Thank you for the help!

This topic has been closed for replies.

3 replies

Participant
November 20, 2022

We cant change font style one by one(using expression) https://ae-expressions.docsforadobe.dev/text-style.html 

Participant
October 26, 2022

Yeah Markdown would be so nice! especially in connection with essential graphics. I would like to have more design options!

Mylenium
Legend
February 21, 2020

You could apply one of them new text style expressions...

 

Mylenium

Participant
February 28, 2020

Hi,

could you please provide a link to these new text style expressions?
Thank you for your help!