🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #14801

Re: Help - I'm out of time - I need a page number reference

#14801
From: Olav_Kvern
Date: Fri, 16 Jan 2004 23:26
13 lines
1106 bytes
McKinley Media--

Something like:

if class of parent of parent text frame of item myResultIndex of theResult is page then 
set myPageNumber to name of parent of parent text frame of item myResultIndex of theResult 
display dialog myPageNumber 
end if

I had it put up the dialog to show that we're getting the page name (which is usually the page number). You'll probably want to do something else.
Thanks,

Ole
Technical Details
Message-ID: <2ccf6acf.0@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!webx
References: <2ccf6acf.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,48f4f6bf79b88cbb
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2004-01-16 15:37:42 PST
From: Olav_Kvern@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Re: Help - I'm out of time - I need a page number reference
Message-ID: <2ccf6acf.0@webx.la2eafNXanI>
Date: Fri, 16 Jan 2004 15:26:07 -0800
References: <2ccf6acf.-1@webx.la2eafNXanI>
Lines: 15
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit