1 Reply Latest reply on Apr 8, 2014 1:37 AM by JuliaLow

    PS CC: export layer to files without prefix / numbers

    JuliaLow

      Hi,

       

      Trying to modify the script in Photoshop CC for the "layers to file" option in order to remove the number-prefix, I just got erorrs.

      Has anyone a working solution for removing the numbers while exporting?

       

      Thanks.

       

      Julia

        • 1. Re: PS CC: export layer to files without prefix / numbers
          JuliaLow Level 1

          Oh, I`ve got the solution:

           

          Start line 1020:

          var fileNameBody = fileNamePrefix;

                  //fileNameBody += "_" + zeroSuppress(i, 4);  (change this line into a comment)

                  if(fileNameBody != '') fileNameBody += "_";   (make an if-statement for the case you give the file a perfix, it will add automatically an underscore)

                  fileNameBody += layerName;                         (say that the file name is the layer name)

           

          done