Photoshop: Actions "skip errors"

  • 1
  • Question
  • Updated 3 months ago
  • (Edited)
Hi, 
I would like to make invisible some layers in photoshop files. 
I have created an action which makes invisible the layers 1,2,3,4,5...
My prblem is when i run the action from automate  batch then it keeps open all the psd files that have no layer. the result is to crash. 
How can the actions run without leaving the photos open and skip the errors?

br
Agni
Photo of Agni Konstadinidi

Agni Konstadinidi

  • 3 Posts
  • 0 Reply Likes

Posted 3 months ago

  • 1
Photo of christoph pfaffenbichler

christoph pfaffenbichler, Champion

  • 1530 Posts
  • 308 Reply Likes
Actions have received an improvement a couple versions back with »Insert Conditional«, one of which is »Document Has Layers«. 
If that is not enough you may want to look into Photoshop Scripting, that offers more options for conditional operations.