🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.photoshop.scripting
Article #1879

Scripting Layer Order

#1879
From: nonsense
Date: Wed, 21 Jul 2004 10:14
11 lines
1073 bytes
Hallo,

try to programm an js-script to coordinate the order of my layers. now i have coding problems to set a layer at the end. i thought that the ElementPlacement.PLACEATEND command is the right for me, but i always get the error message 1220.

here my code line:

layer1.move(layer0,ElementPlacement.PLACEATEND);

can anyone tell me how to use this command correct?

best regards
Technical Details
Message-ID: <3bb52128.-1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!news-out.ntli.net!newsrout1.ntli.net!news-in.ntli.net!ntli.net!newsfeed01.sul.t-online.de!t-online.de!webx

Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,bbb53a02e42ac4af,start
X-Google-Attributes: gidf5839,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: nonsense@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!news-out.ntli.net!newsrout1.ntli.net!news-in.ntli.net!ntli.net!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.photoshop.scripting
Subject: Scripting Layer Order
Message-ID: <3bb52128.-1@webx.la2eafNXanI>
Date: Wed, 21 Jul 2004 03:14:59 -0700
Lines: 14
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit