Article View: adobe.photoshop.scripting
Article #140Re: Javascript template for cs4 needed
From: christoph_pfaffenbichler
Date: Sun, 15 Mar 2009 16:32
Date: Sun, 15 Mar 2009 16:32
8 lines
1399 bytes
1399 bytes
Regarding the nomenclature You can check out the Object Model Viewer in ExtendScript Toolkit or �Photoshop CS4 JavaScript Ref.pdf�. The visibility of a LayeSet can be changed just like a Layer�s: "app.activeDocument.layers["the group�s name"].visibility = true" And the matter can get difficult because a Layer is the child of a Document only if it does not reside in a LayerSet, in which case it is that LayerSet�s child, meaning one has to address it not as "app.activeDocument.layers["the layer�s name or index"]" but "app.activeDocument.layers["the group�s name or index"].layers["the layer�s name or index"]" and so on, as far as I know. How are the LayerSets and the ArtLayers organized with regard to the visibility demands for the jpgs?
Technical Details
Message-ID:
<59b8267f.6@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newsfeed.news2me.com!newshub.sdsu.edu!webcrossingReferences:
<59b8267f.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,6a585aaa247cb861 X-Google-Attributes: gidf5839,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII From: christoph_pfaffenbichler@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newsfeed.news2me.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.photoshop.scripting Subject: Re: Javascript template for cs4 needed Message-ID: <59b8267f.6@webcrossing.la2eafNXanI> Date: Sun, 15 Mar 2009 09:32:01 -0700 References: <59b8267f.-1@webcrossing.la2eafNXanI> Lines: 15 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit