ADOBE AFTER EFFECTS: Forum Expressions Tutorials Podcasts Creative Cloud

Accessing Font Weight in Scripting?

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Ben ChristieAccessing Font Weight in Scripting?
by on Oct 28, 2015 at 4:55:01 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.fontSize = 34;
fpoControl.fillColor = [0, 0, 0];
fpoControl.font = "Helvetica Neue";
fpoControl.text = myString;
fpoControl.justification = ParagraphJustification.CENTER_JUSTIFY;

Return to posts index

John CuevasRe: Accessing Font Weight in Scripting?
by on Oct 28, 2015 at 2:21:18 pm

You should probably post this in the Expressions Forum

Johnny Cuevas, Editor

"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.

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2016 All Rights Reserved