-
Combining setFont with variable sourceText
I’ve got a dozens of text layers that pull text information from their comp names. I’m also trying to set it up such that half of the text is in one typeface and the other is in another typeface. Currently my expression is as follows
thisComp.name.split(“-“)[1] + “$” + random (1, 10).toFixed(2)
Is there a way to set it up such that the thisComp.name.split is in one font and the rest of it is in another? I’d assume I’d need a “var array=” thing in it, but I’m not quite sure how to marry the two expressions.