Article View: adobe.scripting.indesign
Article #9437Re: Numbering based on auto page number
From: Dee_Bolland
Date: Sun, 20 Aug 2006 07:10
Date: Sun, 20 Aug 2006 07:10
12 lines
1167 bytes
1167 bytes
Hello Herrmueller
Not sure about the post hijacking occurring here with Harihara?
Thanks for the script. I've just tried it out and get the following error:
Javascript Error!
Error Number: 45
Error String: Object is invalid
Line: 4
Source: doc.pages[i-1].textFrames.item("pageName").contents+="Page "+i;
Just to give you an idea of how I set the IDCS2 file up. I created 10 pages (non facing). In the Master A page I created the text boxes you described and labelled them as you described. I then double clicked Page 1 to exit master pages and ran the script.
Technical Details
Message-ID:
<3bc14d44.4@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!news.ecp.fr!news.stben.net!webcrossingReferences:
<3bc14d44.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,f696280db6c146fa X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: Dee_Bolland@adobeforums.com Newsgroups: adobe.scripting.indesign Subject: Re: Numbering based on auto page number Message-ID: <3bc14d44.4@webcrossing.la2eafNXanI> Date: Sun, 20 Aug 2006 00:10:38 -0700 References: <3bc14d44.-1@webcrossing.la2eafNXanI> Lines: 11 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!news.ecp.fr!news.stben.net!webcrossing