Article View: adobe.photoshop.scripting
Article #2014Re: Merging Layers with BG
From: Douglas_P_Hill
Date: Fri, 25 Jun 2004 14:35
Date: Fri, 25 Jun 2004 14:35
11 lines
1420 bytes
1420 bytes
You want to make 100 Targa files, each consisting of one of the text layers merged with the background? I don't know if this is the easiest or most efficient way to do it, but here's one approach that could work. Loop through all the ArtLayers, marking all of them not visible unless the isBackGroundLayer property is true. Then loop through all the layers, doing the following: If the layer is the background, do nothing. Otherwise, set layer to visible, duplicate document, flatten new document, save it as Targa, delete new document, set layer to not visible. This would be about a forty minute job for someone comfortable with PS scripting, but it could take you quite a while to get it working if you're new to scripting. I hope someone can offer a simpler approach.
Technical Details
Message-ID:
<3bb4c4cd.0@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<3bb4c4cd.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5839,27d27f6db5697086 X-Google-Attributes: gidf5839,public From: Douglas_P_Hill@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.photoshop.scripting Subject: Re: Merging Layers with BG Message-ID: <3bb4c4cd.0@webx.la2eafNXanI> Date: Fri, 25 Jun 2004 07:35:25 -0700 References: <3bb4c4cd.-1@webx.la2eafNXanI> Lines: 17 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit