Copy link to clipboard
Copied
I have an After Effects script that copies the style and text of a text layer to another text layer in a separate comp. This works great if the parent text layer only contains one style, but I need one that is half bold and half normal. Is there a way for the script to loop through each character in the parent and apply that style to the corresponding character in the child?
This is what I have now - I found it in this tutorial: tutorial
var parentText = comp("Precomp - People").layer("Single Title").text.sourceText; var parentStyle = comp("Precomp - People").layer("Single Title").text.sourceText.style; parentStyle.setText( parentText );
Have something to add?