Sorry for the confusion! Current workflow: 1. Click on layer group to be renamed 2. Go to File>Scripts and choose 115 Layer Rename. 3. This script we be executed: #target photoshop var Name=activeDocument.name if (Name.indexOf(".") != -1 ) Name=Name.substr(0,Name.lastIndexOf(".")); activeDocument.activeLayer.name="115 x 115 "+ Name +"-115.jpg"; Preferred workflow: 1. Go to File>Scripts and choose "Layer Rename" 2. Script will search thru all layer group names. a. If it contains any text with 115 then this script is exucuted: #target photoshop var Name=activeDocument.name if (Name.indexOf(".") != -1 ) Name=Name.substr(0,Name.lastIndexOf(".")); activeDocument.activeLayer.name="115 x 115 "+ Name +"-115.jpg"; b. If it contains any text with 1366 then this script is exucuted: #target photoshop var Name=activeDocument.name if (Name.indexOf(".") != -1 ) Name=Name.substr(0,Name.lastIndexOf(".")); activeDocument.activeLayer.name="1366 x 1366 "+ Name +"-1366.jpg"; Hope this is clear!
... View more