🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #727

Re: [JS CS3/4] >How to Insert a page break (^P) via scripting ?

#727
From: Olav_Kvern
Date: Tue, 17 Mar 2009 21:57
11 lines
795 bytes
Hi Loic,

How about:



myRoot.xmlElements[0].xmlElements[1].insertTextAsContent (SpecialCharacters.pageBreak, XMLElementPosition.AFTER_ELEMENT);

Thanks,

Ole
Technical Details
Message-ID: <59b84fa0.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
References: <59b84fa0.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,731a2354df8885e6
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Olav_Kvern@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: [JS CS3/4] >How to Insert a page break (^P)  via scripting ?
Message-ID: <59b84fa0.0@webcrossing.la2eafNXanI>
Date: Tue, 17 Mar 2009 14:57:03 -0700
References: <59b84fa0.-1@webcrossing.la2eafNXanI>
Lines: 9
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit