🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #621

Re: Paragraph Style - Keep Options

#621
From: Marco Lugli
Date: Tue, 10 Mar 2009 14:45
16 lines
911 bytes
Here's the revised script:

function main(){
	var mySelection = app.selection[0];
	if (mySelection){
		myProcessText(mySelection);
	}

	function myProcessText(mySelection){
		mySelection.paragraphs[0].keepWithNext = 1;
	}
}
main();

Still does not function
Marco
Technical Details
Message-ID: <59b82b64.7@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!news2.glorb.com!news.glorb.com!newshub.sdsu.edu!webcrossing
References: <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!news.glorb.com!news2.glorb.com!news.glorb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: Paragraph Style - Keep Options
Message-ID: <59b82b64.7@webcrossing.la2eafNXanI>
Date: Tue, 10 Mar 2009 07:45:18 -0700
References: <59b82b64.-1@webcrossing.la2eafNXanI>
Lines: 16
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit