๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.photoshop.scripting
Article #52

Re: moving sequential layers to to corresponding points

#52
From: Mark_Larsen
Date: Tue, 31 Mar 2009 20:27
10 lines
1189 bytes
This could well be a change in the way Photoshop expects the syntax in CS3 which I don't have so I could not say. In your original you could try removing:

layer layernum of document "scripttry.psd"

from line 6 as this is where you are addressing objects within objects.
Once inside a tell document block you do not need to include a ref to the doc
This is the same once inside the tell layer block no need to ref the layer
You only need to create a loop inside the doc object around the layers

I hope that makes more sense to you? I should be back on a Tiger Mac in the morning๏ฟฝ
Technical Details
Message-ID: <59b8766c.2@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
References: <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
From: Mark_Larsen@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.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.2@webcrossing.la2eafNXanI>
Date: Tue, 31 Mar 2009 13:27:39 -0700
References: <59b8766c.-1@webcrossing.la2eafNXanI>
Lines: 15
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit