Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions AE Scripting – Set text property: All Fills Over All Strokes

  • AE Scripting – Set text property: All Fills Over All Strokes

    Posted by Allan Raffel on May 13, 2022 at 8:57 am

    Hi,

    I have a script that generates text with predefined properties.

    One of the properties I’d like to define is the Fill-Stroke arrangement. I want the generated text to have All Fills Over all Strokes set.

    In the After Effects scripting guide the following example is given:

    textDocument.strokeOverFill = true;

    So, follow that logic I tried:

    textDocument.allFillsOverAllStrokes = true;

    However this didn’t work.

    Does anyone know what the correct term is? Or are the All Fills Over All Strokes & All Strokes Over All Fills options unavailable via scripting.

    Thanks

    Allan Raffel replied 4 years, 3 months ago 2 Members · 2 Replies
  • 2 Replies
  • Andrei Popa

    May 13, 2022 at 9:19 am

    Hi Allan.

    This should work

    myLayer.text.moreOption.fillANdStroke.setValue(2);
  • Allan Raffel

    May 13, 2022 at 9:27 am

    Brilliant, thank you!

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