Article View: adobe.scripting.indesign
Article #10236Re: [JS] Getting the current page # or moving to another page by #
From: chad_edge
Date: Wed, 28 Jun 2006 18:35
Date: Wed, 28 Jun 2006 18:35
9 lines
1089 bytes
1089 bytes
update: I've fixed the page number using the following JS: var currentPageNumber = app.activeWindow.activePage.name;' Next, I need to take the current filename (.PIL file), open it, read each line in as a string (array?) and look for variables like VENDOR, UNITS, DIMENSIONS, POSITION, etc. and use those variables in placing textframes onto the correct page (the .PIL file also has PAGE as a variable). Good luck to me.
Technical Details
Message-ID:
<3bc0bc76.3@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!news.germany.com!news.motzarella.org!news.ecp.fr!news.stben.net!webcrossingReferences:
<3bc0bc76.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,431b35fbb1ae6739 X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: chad_edge@adobeforums.com Newsgroups: adobe.scripting.indesign Subject: Re: [JS] Getting the current page # or moving to another page by # Message-ID: <3bc0bc76.3@webcrossing.la2eafNXanI> Date: Wed, 28 Jun 2006 11:35:09 -0700 References: <3bc0bc76.-1@webcrossing.la2eafNXanI> Lines: 12 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!news.germany.com!news.motzarella.org!news.ecp.fr!news.stben.net!webcrossing