Article View: adobe.photoshop.scripting
Article #1779[AS] New to scripting: Looking for method to list "path" of layer
From: Bernhard_VonZastrow
Date: Wed, 28 Jul 2004 21:20
Date: Wed, 28 Jul 2004 21:20
21 lines
1323 bytes
1323 bytes
Using AppleScript (and Photoshop CS) I am trying to get this string:
"set.this.that.test.rgb.layername"
from the photoshop layers pallet where this structure exists:
set
this
that
test
rgb
layername <---- where this is the selected layer
I tried using the following line but I keep getting an error stating that AppleScript cannot convert {} into a string (leading me to believe that there are no elements in the list).
set LayerList to get linked layers of current layer of current document
display dialog LayerList
I am new to Applescript and new to Photoshop scripting and would appreciate any help.
Ben
Technical Details
Message-ID:
<3bb53eb0.-1@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.zanker.org!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webxShow Full Headers
Complete Article Headers
X-Google-Thread: f5839,fd0e78320f83793c,start X-Google-Attributes: gidf5839,public X-Google-Language: ENGLISH,ASCII-7-bit From: Bernhard_VonZastrow@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.zanker.org!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: [AS] New to scripting: Looking for method to list "path" of layer Message-ID: <3bb53eb0.-1@webx.la2eafNXanI> Date: Wed, 28 Jul 2004 14:20:57 -0700 Lines: 25 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit