Skip to main content
Inspiring
Jun 7, 2024 9:15 PM UTC
Answered

Is there a remove selected layer from multiple comps script?

Can I remove layer(s) from multiple comps at once? Script maybe, acts on the selected layer(s) name(s)

This topic is closed to new replies. Start a new post to keep the conversation going.
Dan Ebberts
Dan EbbertsCorrect answer
Community Expert
Jun 7, 2024 10:16 PM UTC

With the previous script, if you replace this line:

app.project.item(i).layer(j).blendingMode = BlendingMode.COLOR;

with this, I think it will do what you want:

app.project.item(i).layer(j).remove();

 

 

2 replies

Dan Ebberts
Community Expert
Dan EbbertsCommunity ExpertCorrect answer
Community Expert
Jun 7, 2024 10:16 PM UTC

With the previous script, if you replace this line:

app.project.item(i).layer(j).blendingMode = BlendingMode.COLOR;

with this, I think it will do what you want:

app.project.item(i).layer(j).remove();

 

 

Translate
Inspiring
Jun 7, 2024 10:50 PM UTC

ah great, thank you1

Translate