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

PS CC: export layer to files without prefix / numbers

New Here ,
Apr 08, 2014 Apr 08, 2014

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

TOPICS
Actions and scripting
1.1K
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
Adobe
New Here ,
Apr 08, 2014 Apr 08, 2014
LATEST

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

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