🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #2319

Re: CS3 Javascript - finding the paragraph which contain the index page reference

#2319
From: Robert Tkaczyk
Date: Thu, 25 Dec 2008 22:17
10 lines
1190 bytes
if you need to get page - you don't need paragraph index - you can get page by getting parent of ParentTextFrame of first character of your paragraph

in VB it will be something like this:

PageName = myPara.Characters.Item(1).ParentTextFrames.Item(1).Parent.Name

robin

-- 
www.adobescripts.com
Technical Details
Message-ID: <D9B7399A8DF70288402962DEEC8543DD@in.webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!news2!news.glorb.com!newshub.sdsu.edu!webcrossing
References: <59b75803.-1@webcrossing.la2eafNXanI> <59b75803.1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,4423827cf06ba747
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Robert Tkaczyk <indesignscripts@wp.pl>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!news2!news.glorb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: CS3 Javascript - finding the paragraph
 which contain the index page reference
Message-ID: <D9B7399A8DF70288402962DEEC8543DD@in.webcrossing.la2eafNXanI>
Date: Thu, 25 Dec 2008 14:17:55 -0800
References: <59b75803.-1@webcrossing.la2eafNXanI> <59b75803.1@webcrossing.la2eafNXanI>
Lines: 13
User-Agent: Thunderbird 2.0.0.18 (Windows/20081105)
X-Antivirus: avast! (VPS 081225-0, 2008-12-25), Outbound message
X-Antivirus-Status: Clean
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit