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

Batch delete one specific layer from many psd files

Contributor ,
Jan 07, 2024 Jan 07, 2024

Hi,

 

I have many psd files with me and all the psd files contains a layer named say "Lora" inside them.

This layer can be in bottom or maybe in nested groups too.

 

I want to know how can we batch delete just this "Lora" layer from all of them and save the psd automatically.

TOPICS
Actions and scripting
862
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 3 Correct answers

Community Expert , Jan 07, 2024 Jan 07, 2024

If no other Layer is named »Lora« then selecting that Layer and deleting it should record fine in an Action. 

 

Edit: 

Screenshot 2024-01-07 at 18.23.38.png

Translate
Community Expert , Jan 07, 2024 Jan 07, 2024

A few additions to the post from @c.pfaffenbichler –

 

* If no layers are selected in the document, you will get an error. The easiest way around this is to add a new layer and then delete it, which will then select the next layer at the top of the stack, allowing for the selection of the "Lora" layer without error.

 

* Actions selecting layers by name are case-sensitive, so "Lora" will work, but "lora" or "LORA" etc will not.

 

2024-01-08_09-48-39.png

 

After creating the action, you would need to run the action thro

...
Translate
People's Champ , Jan 07, 2024 Jan 07, 2024

rbin_0-1704670275408.png

 

Translate
Adobe
Community Expert ,
Jan 07, 2024 Jan 07, 2024

If no other Layer is named »Lora« then selecting that Layer and deleting it should record fine in an Action. 

 

Edit: 

Screenshot 2024-01-07 at 18.23.38.png

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
Community Expert ,
Jan 07, 2024 Jan 07, 2024

A few additions to the post from @c.pfaffenbichler –

 

* If no layers are selected in the document, you will get an error. The easiest way around this is to add a new layer and then delete it, which will then select the next layer at the top of the stack, allowing for the selection of the "Lora" layer without error.

 

* Actions selecting layers by name are case-sensitive, so "Lora" will work, but "lora" or "LORA" etc will not.

 

2024-01-08_09-48-39.png

 

After creating the action, you would need to run the action through Automate > Batch or Scripts > Image Processor etc.

 

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
People's Champ ,
Jan 07, 2024 Jan 07, 2024

rbin_0-1704670275408.png

 

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
Community Expert ,
Jan 07, 2024 Jan 07, 2024
LATEST

@r-bin – That would save a layer selection step, however, I have forgotten how to record the explicit layer name into a single delete step!

 

Doh! Just drag it to the trash! :]

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
Contributor ,
Jan 07, 2024 Jan 07, 2024

Worked well. Thanks a lot.

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