Skip to main content
Inspiring
June 7, 2024
Answered

Is there a remove selected layer from multiple comps script?

  • June 7, 2024
  • 1 reply
  • 307 views

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

This topic has been closed for replies.
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();

 

 

1 reply

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