Skip to main content
Participant
Mar 19, 2025 12:36 PM UTC
Question

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

Please tell me is there any way to select particular property

3 replies

Community Expert
Mar 19, 2025 4:18 PM UTC

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
Dan Ebberts
Community Expert
Community Expert
Mar 19, 2025 2:40 PM UTC

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
Dan Ebberts
Community Expert
Community Expert
Mar 19, 2025 2:44 PM UTC

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