🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8455

Re: VB - CS2 How to get section name from page

#8455
From: Robert Tkaczyk
Date: Sat, 14 Oct 2006 18:03
14 lines
1165 bytes
> I'm working with CS2 and having problems getting page name when I use this:
> 
> PageName = myDocument.Pages.Item(myCounter).Name
> 
> getting only the page number without prefix section name if any exists. It's work fine with CS1.

myPage.AppliedSection.Name
or
myPage.AppliedSection.SectionPrefix

robin

-- 
www.adobescripts.com
Technical Details
Message-ID: <6AA727F6A4A914665880EDFE278E24B7@in.webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!news.musoftware.de!news.albasani.net!news.isoc.lu!news.stben.net!webcrossing
References: <3bc1f7fb.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,8e8e4109a2b33e6d
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Robert Tkaczyk <indesignscripts@wp.pl>
Newsgroups: adobe.scripting.indesign
Subject: Re: VB - CS2 How to get section name from page
Message-ID: <6AA727F6A4A914665880EDFE278E24B7@in.webcrossing.la2eafNXanI>
Date: Sat, 14 Oct 2006 11:03:28 -0700
References: <3bc1f7fb.-1@webcrossing.la2eafNXanI>
Lines: 16
User-Agent: Thunderbird 1.5.0.7 (Windows/20060909)
X-Antivirus: avast! (VPS 0641-4, 2006-10-13), Outbound message
X-Antivirus-Status: Clean
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!news.musoftware.de!news.albasani.net!news.isoc.lu!news.stben.net!webcrossing