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

PS CC: export layer to files without prefix / numbers

New Here ,
Apr 08, 2014 Apr 08, 2014

Copy link to clipboard

Copied

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

Views

936

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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