🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.photoshop.scripting
Article #217

Re: Why can't I do "layer.kind = LayerKind.SMARTOBJECT;"?

#217
From: Paul_R
Date: Fri, 20 Mar 2009 14:01
10 lines
952 bytes
Yes its all scriptListener code auto generated with the ScriptListner plugin.

this line..
executeAction( stringIDToTypeID('newPlacedLayer'), undefined, DialogModes.NO );

converts the normal layer to a smart layer.
The function will rasterize the layer.

The layer must be the active one.
the "201" and "89" are just auto generated variables.
Technical Details
Message-ID: <59b85b78.2@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
References: <59b85b78.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,891f8834363aa50a
X-Google-Attributes: gidf5839,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Paul_R@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.photoshop.scripting
Subject: Re: Why can't I do "layer.kind = LayerKind.SMARTOBJECT;"?
Message-ID: <59b85b78.2@webcrossing.la2eafNXanI>
Date: Fri, 20 Mar 2009 07:01:50 -0700
References: <59b85b78.-1@webcrossing.la2eafNXanI>
Lines: 12
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit