Article View: adobe.photoshop.scripting
Article #53Re: moving sequential layers to to corresponding points
From: Mark_Larsen
Date: Tue, 31 Mar 2009 20:42
Date: Tue, 31 Mar 2009 20:42
12 lines
1200 bytes
1200 bytes
Here is another way that you may want to try tell application "Adobe Photoshop CS2" -- Target Photoshop Application Object activate -- Tell application object what to do set ruler units of settings to pixel units tell document "scripttry.psd" -- Next Target Document Object resize canvas width 10 anchor position middle left -- Tell document object what to do repeat with i from 2 to 10 -- Start loop translate layer i delta x (i - 1) -- Tell layer object what to do end repeat -- End loop end tell -- Target Document Object end tell -- Target Photoshop Application Object
Technical Details
Message-ID:
<59b8766c.3@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossingReferences:
<59b8766c.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,cf1d07fb07aa28b7 X-Google-Attributes: gidf5839,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Mark_Larsen@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.photoshop.scripting Subject: Re: moving sequential layers to to corresponding points Message-ID: <59b8766c.3@webcrossing.la2eafNXanI> Date: Tue, 31 Mar 2009 13:42:23 -0700 References: <59b8766c.-1@webcrossing.la2eafNXanI> Lines: 14 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit