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

Change to font Weight (For example Arial-Bold)

$
0
0

Hello,

 

Im using this code and im trying to change weight font in my text layer.

 

var textProp = app.project.activeItem.layer(1).property("Source Text"); var textDocument = textProp.value; textDocument.font = "Arial-Bold"; textProp.setValue(textDocument);

 

But this does not Changing the font to the "Arial-Bold" font,

What did I do wrong?


Viewing all articles
Browse latest Browse all 2143

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>