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

Is there a remove selected layer from multiple comps script?

Participant ,
Jun 07, 2024 Jun 07, 2024

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

TOPICS
Scripting
316
Translate
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();

 

 

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

 

 

Translate
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
Participant ,
Jun 07, 2024 Jun 07, 2024
LATEST

ah great, thank you1

Translate
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