Article View: adobe.scripting.indesign
Article #612Re: Paragraph Style - Keep Options
From: Marco Lugli
Date: Tue, 10 Mar 2009 11:01
Date: Tue, 10 Mar 2009 11:01
17 lines
992 bytes
992 bytes
Hi jongware,
I modified the script as you suggested:
function main(){
var mySelection = app.selection[0];
if (mySelection){
myProcessText(mySelection);
}
function myProcessText(mySelection){
mySelection.paragraphs[0].keepWithNext = 1;
}
}
But still no results.. any suggestions?
Thanks
Marco
Technical Details
Message-ID:
<59b82b64.3@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossingReferences:
<59b82b64.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,c0be6b82988d16c5 X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Marco Lugli" <marco.lugli@ama.it> Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: Paragraph Style - Keep Options Message-ID: <59b82b64.3@webcrossing.la2eafNXanI> Date: Tue, 10 Mar 2009 04:01:09 -0700 References: <59b82b64.-1@webcrossing.la2eafNXanI> Lines: 17 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit