Hello everyone,
I've got an annoying problem. I want to set the text on a text layer like you would normally through a script. Usually, this is fast enough but let's say I wanted to set a large piece of text
to a paragraph box like so:
var s = "some long text";
var td = layer.property("Source Text").value;
td.text = s;
layer.property("Source Text").setValue(td);
If the text is too long, say 300+ characters, it takes forever to set the value. I thought that this is maybe a general problem with After Effects, but this doesnt happen if I copy and paste the text into the box through the UI. I tried running the script with the -noui arg but it made a negligible difference.
Any scripting wizard out there that can help me understand why this is happening?
Thanks