FORUMS: list search recent posts

Accessing Font Weight in Scripting?

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Ben Christie
Accessing Font Weight in Scripting?
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.resetCharStyle();
fpoControl.fontSize = 34;
fpoControl.fillColor = [0, 0, 0];
fpoControl.font = "Helvetica Neue";
fpoControl.text = myString;
fpoControl.justification = ParagraphJustification.CENTER_JUSTIFY;
fpoDocument.setValue(fpoControl);


Return to posts index

John Cuevas
Re: Accessing Font Weight in Scripting?
on Oct 28, 2015 at 2:21:18 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.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]