Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

[Scripting] Can you show me an example of add Animator properties to text layer using extendscript?

Contributor ,
Mar 07, 2020 Mar 07, 2020

I want to know the way to add animator properties to a text layer. Can you please show me an example to add RGB Fill color property to a text layer with Range Selector????

 

Thank you.

TOPICS
Expressions , How to , Scripting
1.9K
Translate
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

Contributor , Mar 07, 2020 Mar 07, 2020

Finally I've figured it out.

                var animator = app.project.activeItem.layer(1).Text.Animators.addProperty("ADBE Text Animator"); 
                var fillColor = animator.property("ADBE Text Animator Properties").addProperty("ADBE Text Fill Color");
                var selector = animator.property("ADBE Text Selectors").addProperty("ADBE Text Selector"); 
                
Translate
Community Expert ,
Mar 07, 2020 Mar 07, 2020

Look at this video about Text Animators.


Byron.
Translate
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
Contributor ,
Mar 07, 2020 Mar 07, 2020

My bad. Sorry.I didn't mentioned it earlier. I was asking how can I do that in scripting.

Translate
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
Contributor ,
Mar 07, 2020 Mar 07, 2020
LATEST

Finally I've figured it out.

                var animator = app.project.activeItem.layer(1).Text.Animators.addProperty("ADBE Text Animator"); 
                var fillColor = animator.property("ADBE Text Animator Properties").addProperty("ADBE Text Fill Color");
                var selector = animator.property("ADBE Text Selectors").addProperty("ADBE Text Selector"); 
                
Translate
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