Article View: adobe.scripting.indesign
Article #15310Re: AS - drawing a box on the active page?
From: Olav_Kvern
Date: Mon, 08 Dec 2003 09:08
Date: Mon, 08 Dec 2003 09:08
22 lines
1448 bytes
1448 bytes
Casey-- What you're looking for (I think) is: set myPage to active page of layout window 1 of myDocument ...and then tell myPage to do something. Use caution, however, as various user actions will change the active page. There are three other properties you might be interested in: * name, which is the name of the page as it appears when you enter an automatic page number (that is, according to the section numbering of the page that contains the page). I think this is what you're looking for when you use "number", which actually isn't a property of a page. * document offset, which is the absolute count of the page from the start of the document. * index, which is the location of the page in its parent spread. Hope this helps! Thanks, Ole
Technical Details
Message-ID:
<2ccec6d8.0@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<2ccec6d8.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,129671036175acbc X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-12-08 01:37:41 PST From: Olav_Kvern@adobeforums.com Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: Re: AS - drawing a box on the active page? Message-ID: <2ccec6d8.0@webx.la2eafNXanI> Date: Mon, 8 Dec 2003 01:08:14 -0800 References: <2ccec6d8.-1@webx.la2eafNXanI> Lines: 24 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit