🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8189

Re: [CS2] Pb pages.add with CS2

#8189
From: Dave_Saunders
Date: Thu, 02 Nov 2006 17:02
9 lines
926 bytes
Here you go:

myDoc = app.documents.add();
myNewPage = myDoc.pages.add(LocationOptions.after, myDoc.pages[0]);
myNewPage = myDoc.pages.add(LocationOptions.after, myDoc.pages[0]);

This creates a three page document. The second myNewPage is added between the first and old second page.

Dave
Technical Details
Message-ID: <3bc22878.2@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!news2.volia.net!news.musoftware.de!news.albasani.net!news.isoc.lu!webcrossing
References: <3bc22878.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,f10986f34e57d019
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Dave_Saunders@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!news2.volia.net!news.musoftware.de!news.albasani.net!news.isoc.lu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: [CS2] Pb pages.add with CS2
Message-ID: <3bc22878.2@webcrossing.la2eafNXanI>
Date: Thu, 2 Nov 2006 09:02:50 -0800
References: <3bc22878.-1@webcrossing.la2eafNXanI>
Lines: 10
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit