Text Style Property

Community Beginner ,
May 14, 2022 May 14, 2022

Copy link to clipboard

Copied

Hi,

I'm trying to write different parameters into my Source Text like this:

thisComp.layer("a").text.sourceText.getStyleAt(0,0)
+
thisComp.layer("b").text.sourceText.getStyleAt(0,0);

But It shows [object][object] instead of showing text of two layers A and B.

 

What should I do?

TOPICS
Error or problem , Expressions , FAQ

Views

174

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Community Professional , May 15, 2022 May 15, 2022
Using the Animate menu (visible when you expand a text layer), it's possible to add a Fill Color.  From there, if you expand the options and the advanced options, not only can you set different words to be different colours, but you can add multiple animators and keyframe the change.

Likes

Translate

Translate
Adobe Community Professional ,
May 14, 2022 May 14, 2022

Copy link to clipboard

Copied

You cannot combine different text styles within the same layer and that is that.

 

Mylenium

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 14, 2022 May 14, 2022

Copy link to clipboard

Copied

Can I set different colors for text within the same layer? Means color 1 for text 1 and color 2 for text 2?

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
May 15, 2022 May 15, 2022

Copy link to clipboard

Copied

LATEST

Using the Animate menu (visible when you expand a text layer), it's possible to add a Fill Color.  From there, if you expand the options and the advanced options, not only can you set different words to be different colours, but you can add multiple animators and keyframe the change.

colours.jpg

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
May 15, 2022 May 15, 2022

Copy link to clipboard

Copied

That's what text animators are for. I suggest you read the online help on the subject.

 

Mylenium

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines