🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #15122

Re: Return the Page Number

#15122
From: Dave_Saunders
Date: Tue, 30 Dec 2003 20:22
7 lines
1075 bytes
Look up the parentage chain of the item until you get an item that is a page. Get the page's name.

Make sure you don't start out with text selected because then you'll need to first get the parent text frame.

And there's always the possibility that your item is an inline in a story, so it can be a tad complicated.

Dave
Technical Details
Message-ID: <2ccf21b9.0@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!skynet.be!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!webx
References: <2ccf21b9.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,e027b1ce68af93a
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-12-30 12:37:53 PST
From: Dave_Saunders@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!skynet.be!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Re: Return the Page Number
Message-ID: <2ccf21b9.0@webx.la2eafNXanI>
Date: Tue, 30 Dec 2003 12:22:59 -0800
References: <2ccf21b9.-1@webx.la2eafNXanI>
Lines: 10
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit