🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #18285

Re: [VB] Referring pages by section numbering?

#18285
From: Alan Stearns
Date: Tue, 15 Apr 2003 01:28
8 lines
1572 bytes
The Name property of pages is a string that concatenates the section prefix and the page number. So if, for instance, you had a section with a prefix of "chapter 2:" which contained a page numbered 5, you could access that page with either of these lines:

myDoc.Pages.Item("chapter 2:5")
myDoc.Pages.Item("chapter 2:" & 5)

The default section prefix is blank, so in default, one-section documents the name is usually just the page number as a string.

Note that if you have the page numbering style set to something other than arabic numerals, the page name reflects this setting. If you had the style set to lowercase roman numerals, then the name of the page above would be "chapter 2:v"
Technical Details
Message-ID: <1de8ba38.0@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de8ba38.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,d73b636f9a0cad63
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-04-14 18:37:50 PST
From: "Alan Stearns" <astearns@adobe.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: [VB] Referring pages by section numbering?
Message-ID: <1de8ba38.0@WebX.la2eafNXanI>
Date: Mon, 14 Apr 2003 18:28:55 -0700
References: <1de8ba38.-1@WebX.la2eafNXanI>
Lines: 15
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit