Article View: adobe.scripting.indesign
Article #18539Re: get current page / active page? [AS]
From: Dave Saunders
Date: Thu, 20 Mar 2003 19:19
Date: Thu, 20 Mar 2003 19:19
8 lines
1319 bytes
1319 bytes
I have to say that in all the scripts I've written, I've never worried about the current page except in the context of some element in which I'm interested (whether or not it's the selection). As you say, Ole, once you have an item it's easy enough to find the page it's on. For instance: set myParent to parent of myItem repeat until class of myParent is page set myParent to parent of myParent end repeat Dave
Technical Details
Message-ID:
<1de860ec.2@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de860ec.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,8bf39a41a2ae0c72 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-03-20 11:38:20 PST From: "Dave Saunders" <daves@pdsassoc.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: get current page / active page? [AS] Message-ID: <1de860ec.2@WebX.la2eafNXanI> Date: Thu, 20 Mar 2003 11:19:04 -0800 References: <1de860ec.-1@WebX.la2eafNXanI> Lines: 12 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit