🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.photoshop.scripting
Article #415

Re: Script to check for presence of a layer mask

#415
From: Jonathan_Reyes
Date: Fri, 23 Jan 2009 20:08
3 lines
1163 bytes
wow, thank you! that wasn't as easy as I thought it might be...I thought I was just missing a built in function. I clearly have much to learn.

while i'm at it, is there an easy way to reference a layer based on it's layer name (the name you see in the layers pallette in photoshop) rather then it's number in an array? the only way i can think of right now is to create a loop to check each layer in a document and if that layer's name == "specified layer name", assign it to a variable. but again, very new to scripting so i could be approaching this all wrong.
Technical Details
Message-ID: <59b7a3d8.1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
References: <59b7a3d8.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,da4af0c0c71df769
X-Google-Attributes: gidf5839,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Jonathan_Reyes@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.photoshop.scripting
Subject: Re: Script to check for presence of a layer mask
Message-ID: <59b7a3d8.1@webcrossing.la2eafNXanI>
Date: Fri, 23 Jan 2009 12:08:30 -0800
References: <59b7a3d8.-1@webcrossing.la2eafNXanI>
Lines: 9
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit