Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

ExtendScript: control font settings of substrings within a layer

Community Beginner ,
Feb 20, 2020 Feb 20, 2020

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!

TOPICS
Expressions , How to , Scripting , SDK
436
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 21, 2020 Feb 21, 2020

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

 

Mylenium

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 28, 2020 Feb 28, 2020

Hi,

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 26, 2022 Oct 26, 2022

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 19, 2022 Nov 19, 2022
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines