-
Text expressions
Dear CC Community,
I am looking for a few expressions with regard to text layers for a template that I’m building.
There’s a few questions that I have, and I will try to describe them as good as possible.1.
How can I make an expression that adds a character to a text that is defined in another comp?
Situation : I have a Main comp which shows a name, comma, and another name. The ‘source text’ of the name is linked to another composition where I have all text layers. Since I want a comma behind the first name, how can I add the comma in this expression?What I’m using now is : comp(“Master Text Composition”).layer(“TextLayer1”).text.sourceText
2.
I am using several text layers placed after each other with different names. Just like in the previous situation the source text of these layers is defined in a ‘text comp’ where we can easily change all texts. If a text layer is a bit longer than the original one it obviously overlaps with the next text. How can I have the text length or character count influence the position value so that the second layer would move if the first layer has more characters?3.
Is it possible to add ‘…’ to a text layer if the character count exceeds a certain value?
(Again I am fetching the ‘source text’ from another composition so that I would only have to change the texts in one composition. )It would be great if someone could help me out and point me in the right direction here!
Thanks a lot!Wick
WickieMedia.net