🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.photoshop.scripting
Article #34

Saving layer comps as .png with custom filenames

#34
From: arkside
Date: Mon, 30 Mar 2009 09:43
10 lines
992 bytes
I'm using an action to create 30 layercomps from my .psd.

I need to save those out as .png files with a filename like this...

DocName_E00_S01.png

So "DocName" is the existing filename, "E" always stays the same, "00" is a 2 digit serial number that matches the name of the layercomp, and "S01" is text that I enter for the entire set of layercomps.

I've tried so many ways to solve this, but I'm a total js newbie.
Can anyone help?
Technical Details
Message-ID: <59b872e4.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,2998c71da96e2d93,start
X-Google-Attributes: gidf5839,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: arkside@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.photoshop.scripting
Subject: Saving layer comps as .png with custom filenames
Message-ID: <59b872e4.-1@webcrossing.la2eafNXanI>
Date: Mon, 30 Mar 2009 02:43:23 -0700
Lines: 12
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit