🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.photoshop.scripting
Article #156

Re: Layer Comps to File HELP! PLEASE!

#156
From: Mark_Walsh
Date: Wed, 04 Mar 2009 19:13
7 lines
802 bytes
Line 174:

fileNameBody += "_" + zeroSuppress(compsIndex, 4);

the 'zeroSuppress' function pads out the numbers to '0000'. compsIndex is the index # of the comp.

If you want to change the naming, change this line.
Technical Details
Message-ID: <59b81cb8.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
References: <59b81cb8.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,a1a82dfc940a5813
X-Google-Attributes: gidf5839,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Mark_Walsh@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.photoshop.scripting
Subject: Re: Layer Comps to File HELP! PLEASE!
Message-ID: <59b81cb8.0@webcrossing.la2eafNXanI>
Date: Wed, 4 Mar 2009 11:13:50 -0800
References: <59b81cb8.-1@webcrossing.la2eafNXanI>
Lines: 8
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit