Skip to main content
Inspiring
June 7, 2024
Answered

Is there a remove selected layer from multiple comps script?

  • June 7, 2024
  • 2 replies
  • 316 views

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.
Correct answer Dan Ebberts

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
June 7, 2024

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();

 

 

Inspiring
June 7, 2024

ah great, thank you1