Article View: adobe.photoshop.scripting
Article #1848Re: Equivelent to ArtLayer.Bounds in Scripting for PS7
From: Mick_Murphy
Date: Fri, 16 Jul 2004 21:38
Date: Fri, 16 Jul 2004 21:38
1 lines
1048 bytes
1048 bytes
There is no equivalent to layer bounds in PS7. From other posts in this forum, it seems to be impossible to get the size of a layer in 7. However, there is an artlayer.textitem.bounds property which may work for you in this case because you are using a text layer. Check out the sample script "text art center". This doesn't appear to be in the documentation.
Technical Details
Message-ID:
<3bb511fd.0@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.yul.equant.net!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<3bb511fd.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,f93f94738a3f2515 X-Google-Attributes: gidf5839,public X-Google-Language: ENGLISH,ASCII-7-bit From: Mick_Murphy@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.yul.equant.net!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: Re: Equivelent to ArtLayer.Bounds in Scripting for PS7 Message-ID: <3bb511fd.0@webx.la2eafNXanI> Date: Fri, 16 Jul 2004 14:38:29 -0700 References: <3bb511fd.-1@webx.la2eafNXanI> Lines: 5 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit