4 Replies Latest reply on Jan 25, 2018 1:41 PM by Kukurykus

    Remove elements from PS file

    jnwbr

      I have a simple script that I run from within an Action that flattens layers, deletes paths + channels + layer comps from files.

       

      app.activeDocument.flatten();

      app.activeDocument.channels.removeAll();

      app.activeDocument.pathItems.removeAll();

      app.activeDocument.layerComps.removeAll();

       

      It works fine within PS.

      If I run the Action through Bridge under Tools/Batch on files, the resulting process always throws up a dialog asking if I want to remove the paths from the files.

      Why is this happening only when I run the Action through Bridge?

       

      Thanks.