Article View: adobe.photoshop.scripting
Article #1929Re: Replace text in text layer
From: Bruce_Smith
Date: Thu, 08 Jul 2004 14:00
Date: Thu, 08 Jul 2004 14:00
7 lines
981 bytes
981 bytes
if (layer.kind == LayerKind.TEXT) I don't know if you have to make layer into a variable or not since I'm not really a JSer, but more of a ASer, but this line of code came from the Photoshop docs. So it may have to be something like... if (newLayerRef.kind == LayerKind.TEXT) ... which is exactly how it came out of the documentation.
Technical Details
Message-ID:
<3bb4f495.0@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news-out.ntli.net!newsrout1.ntli.net!news-in.ntli.net!ntli.net!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<3bb4f495.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,ecbcd85c454b2094 X-Google-Attributes: gidf5839,public X-Google-Language: ENGLISH,ASCII-7-bit From: Bruce_Smith@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.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: Re: Replace text in text layer Message-ID: <3bb4f495.0@webx.la2eafNXanI> Date: Thu, 8 Jul 2004 07:00:19 -0700 References: <3bb4f495.-1@webx.la2eafNXanI> Lines: 9 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit