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

Hi i want to select only fill color but I am getting even stroke color is there any way to search on

New Here ,
Mar 19, 2025 Mar 19, 2025

Please tell me is there any way to select particular property

TOPICS
How to , Scripting
78
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
Community Expert ,
Mar 19, 2025 Mar 19, 2025

I'm not sure if this is what you're asking for:

var myLayer = app.project.activeItem.layer(1);
var myProperty = myLayer.property("Contents").property("Rectangle 1").property("Contents").property("Stroke 1").property("Color");
myProperty.selected = true;

 

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
Community Expert ,
Mar 19, 2025 Mar 19, 2025

I'm sorry, you wanted Fill Color, not Stroke color:

var myLayer = app.project.activeItem.layer(1);
var myProperty = myLayer.property("Contents").property("Rectangle 1").property("Contents").property("Fill 1").property("Color")
myProperty.selected = true;
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
Community Expert ,
Mar 19, 2025 Mar 19, 2025
LATEST

If you type "fill" in the Timeline Search Bar and then select only the layers you want to change, you can use the toolbar to change only the selected shapes. 

 

Unfortunately, you cannot add modifiers to the Timeline Search. A good feature request would be to be able to search for fill and color to eliminate the stroke colors from the timeline.

 

The only other option without scripting would be to open the Essential Graphics workspace, type color into the Timeline Search bar, and then drag all of the Fill/Color properties into the Essential Graphics panel.

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