Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Accessing Font Weight in Scripting?

  • Accessing Font Weight in Scripting?

    Posted by Ben Christie on October 28, 2015 at 4:55 am

    Hi guys!

    I’m hoping this is something pretty simple I am overlooking, but I am trying to find how to set the font weight via script.

    Currently I have my font set up like this. But I need to choose Helvetica Neue Medium instead. Thoughts?

    fpoControl.resetCharStyle();
    fpoControl.fontSize = 34;
    fpoControl.fillColor = [0, 0, 0];
    fpoControl.font = "Helvetica Neue";
    fpoControl.text = myString;
    fpoControl.justification = ParagraphJustification.CENTER_JUSTIFY;
    fpoDocument.setValue(fpoControl);

    John Cuevas replied 10 years, 6 months ago 2 Members · 1 Reply
  • 1 Reply
  • John Cuevas

    October 28, 2015 at 2:21 pm

    You should probably post this in the Expressions Forum

    Johnny Cuevas, Editor
    ThinkCK

    “I have not failed 700 times. I have succeeded in proving that those 700 ways will not work. When I have eliminated the ways that will not work, I will find the way that will work.”
    —THOMAS EDISON on inventing the light bulb.

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