Article View: adobe.scripting.indesign
Article #17043Re: Is it possible to find active page on a spread?
From: Olav Kvern
Date: Tue, 15 Jul 2003 23:51
Date: Tue, 15 Jul 2003 23:51
11 lines
1268 bytes
1268 bytes
Blaine-- The only way to tell which page is the active page is if there is an item selected on that page. If no items are selected, the entire spread is active (which is reflected in the ActiveWindow.ActiveSpread property). If you have a selection, however, you can climb out to the page using the Parent property (or, for a text selection, the ParentTextFrame property). Once the Parent returns a reference whose type is Page, you've got the page. The name of the page is the page number string as it would appear on the page. Does that help? Thanks, Ole
Technical Details
Message-ID:
<1de9eef4.0@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de9eef4.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,abf9a3f868cf256c X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-07-15 17:08:04 PST From: "Olav Kvern" <okvern@adobe.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Is it possible to find active page on a spread? Message-ID: <1de9eef4.0@WebX.la2eafNXanI> Date: Tue, 15 Jul 2003 16:51:11 -0700 References: <1de9eef4.-1@WebX.la2eafNXanI> Lines: 17 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit