Quantcast
Channel: Adobe Community : Discussion List - After Effects Scripting
Viewing all articles
Browse latest Browse all 2143

Problem changing font size

$
0
0

Hello,

 

I've been working on a script and have the following line of code, where I create and want to edit the font size of the just created text. However I can't seem to get it work. I can change some of the other text properties, which is why it is stumping me.

 

var finishText = thisComp.layers.addText(finishTime);     var textProp = finishText.property("Source Text");    var textDocument = textProp.value;    textDocument.resetCharStyle();    textDocument.fontSize = 36;    textProp.setValue(textDocument);

 

Help appreciated! Thanks!


Viewing all articles
Browse latest Browse all 2143

Latest Images

Trending Articles



Latest Images