Article View: adobe.photoshop.scripting
Article #2081Re: Copying layers
From: Douglas_P_Hill
Date: Tue, 22 Jun 2004 19:08
Date: Tue, 22 Jun 2004 19:08
3 lines
1119 bytes
1119 bytes
Oops, I see you have already answered the question from my last post. One thing that might work is to make the source document and source layer be the active document and layer, select all and copy. Then make the destination document active and the destination layer active, and paste. Capture the return value of the paste operation to get the handle of the new layer created by the paste. Then delete the old layer in the destination document and rename the new layer to the desired name.
Technical Details
Message-ID:
<3bb4b91b.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:
<3bb4b91b.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5839,cb0a6be44329235a 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: Copying layers Message-ID: <3bb4b91b.0@webx.la2eafNXanI> Date: Tue, 22 Jun 2004 12:08:12 -0700 References: <3bb4b91b.-1@webx.la2eafNXanI> Lines: 8 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit