🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #1710

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

#1710
From: jxswm
Date: Tue, 27 Jan 2009 15:57
15 lines
1001 bytes
pageRefs = myTopic.pageReferences;
pageRefsLen = pageRefs.length;
var myText1, myText2
if(pageRefsLen > 0){
 myText1 = pageRefs[0].sourceText.texts[0];
 if(pageRefsLen > 1){
  myText2 = pageRefs[pageRefsLen-1].sourceText.texts[0];
 }
}

myText1==> do some thing
myText2==> do some thing

Jimmy shen
(jxswm@126.com)
Technical Details
Message-ID: <59b75803.19@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!webcrossing
References: <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: jxswm@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: CS3 Javascript - finding the paragraph
 which contain the index page reference
Message-ID: <59b75803.19@webcrossing.la2eafNXanI>
Date: Tue, 27 Jan 2009 07:57:37 -0800
References: <59b75803.-1@webcrossing.la2eafNXanI>
Lines: 15
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit