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

Is there a remove selected layer from multiple comps script?

Explorer ,
Jun 07, 2024 Jun 07, 2024

Copy link to clipboard

Copied

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

TOPICS
Scripting

Views

57

Translate

Translate

Report

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

correct answers 1 Correct answer

Community Expert , Jun 07, 2024 Jun 07, 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();

 

 

Votes

Translate

Translate
Community Expert ,
Jun 07, 2024 Jun 07, 2024

Copy link to clipboard

Copied

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

 

 

Votes

Translate

Translate

Report

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
Explorer ,
Jun 07, 2024 Jun 07, 2024

Copy link to clipboard

Copied

LATEST

ah great, thank you1

Votes

Translate

Translate

Report

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