🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #94

Re: script for a newspaper

#94
From: jongware
Date: Mon, 30 Mar 2009 09:09
9 lines
894 bytes
Okay, tested some more. You get a better fit if you first enlarge to at least 3 lines, then take the previous size:



while (app.activeDocument.selection[0].paragraphs[0].lines.length < 3)

	app.activeDocument.selection[0].paragraphs[0].pointSize += 1;

app.activeDocument.selection[0].paragraphs[0].pointSize -= 1;
Technical Details
Message-ID: <59b872c6.1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
References: <59b872c6.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,f42a86f1bfc1c4a8
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: jongware@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: script for a newspaper
Message-ID: <59b872c6.1@webcrossing.la2eafNXanI>
Date: Mon, 30 Mar 2009 02:09:44 -0700
References: <59b872c6.-1@webcrossing.la2eafNXanI>
Lines: 10
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit