🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.photoshop.scripting
Article #413

Script to check for presence of a layer mask

#413
From: Jonathan_Reyes
Date: Fri, 23 Jan 2009 14:51
1 lines
957 bytes
Hello all, I'm very new to scripting and have figured out the basics, but I can't figure this one out. I'm looking for a script that can check all layers and see if any of them have a layer mask, and ifso, apply the mask to the layer. I found a library online specifically relating to layer masks but did not understand it well and I just need the script to do these two functions. Thank you!
Technical Details
Message-ID: <59b7a3d8.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing

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