🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.photoshop.scripting
Article #1795

an art layer is linked, can we know which layer it is linked to in JS?

#1795
From: zizimouse
Date: Fri, 09 Jul 2004 19:22
9 lines
1103 bytes
If an art layer, e.g. artLayers[i] is linked to another art layer bellow, e.g., artLayers[j]. We only know the artLayers[i].linkedLayers.length is a number, e.g. L, larger than 0 in J.S.

However, sometimes the artLayers[i + L] is not artLayers[j],
where L = artLayers[i].linkedLayers.length,
because there may be some unlinked layers between the artLayers[i] and artLayers[j].

So, If an art layer is linked to another, how can I know the layer name of another layer it is linked to?

Thanks in advance!
Technical Details
Message-ID: <3bb4facc.-1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.moat.net!newsfeed01.sul.t-online.de!t-online.de!webx

Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,f982b728aa417b36,start
X-Google-Attributes: gidf5839,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: zizimouse@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.moat.net!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.photoshop.scripting
Subject: an art layer is linked, can we know which layer it is linked to in JS?
Message-ID: <3bb4facc.-1@webx.la2eafNXanI>
Date: Fri, 9 Jul 2004 12:22:48 -0700
Lines: 13
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit