Article View: adobe.scripting.indesign
Article #8711Re: Line height
From: Peter_Kahrel
Date: Wed, 27 Sep 2006 08:57
Date: Wed, 27 Sep 2006 08:57
13 lines
884 bytes
884 bytes
Something like this (allowing for leading to be fixed or automatic): var line = app.selection[0].lines[0] if ( line.leading == Leading.auto ) var myLineheight = ( app.selection[0].pointSize * line.autoLeading ) / 100 else var myLineheight = line.leading Peter
Technical Details
Message-ID:
<3bc1cac9.0@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!news.buerger.net!open-news-network.org!news.isoc.lu!webcrossingReferences:
<3bc1cac9.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,e01d6896085b06b9 X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: Peter_Kahrel@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!news.buerger.net!open-news-network.org!news.isoc.lu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: Line height Message-ID: <3bc1cac9.0@webcrossing.la2eafNXanI> Date: Wed, 27 Sep 2006 01:57:44 -0700 References: <3bc1cac9.-1@webcrossing.la2eafNXanI> Lines: 10 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit