Article View: adobe.scripting.indesign
Article #14813Re: (AS, CS) Relating page references to index subtopics
From: Cris_Lawrence
Date: Mon, 12 Jan 2004 19:12
Date: Mon, 12 Jan 2004 19:12
5 lines
2036 bytes
2036 bytes
Peter: I don't believe that the index for the pageReferences.add is always set to 0. In fact, I don't believe I control the index. Are you asking about the value for the storyOffset, which is always 0? That, as I understand it, refers to the location within the story, of the page reference. Since each of my stories on the keyword layer is very short (one story per product) and each refers to the page it is ultimately located on, the storyOffset for me doesn't appear to be significant. I suppose my method would seem roundabout taken out of context. We are building the catalog from a database using automation (customized GUI, tagged text import, additional applescripting as needed for picture placements, workflow controls, etc). The database contains a set of keywords for each product it contains. We have no advance notice as to where in the catalog our client will place a product or even which products will populate the catalog. But as long as the text frame (kept on a normally hidden layer) containing the keywords travels with the product, the client can shuffle the products around or remove them at will and the keywords will remain associated. Hopefully, once the client is finished composing the catalog he/she can run this indexing script to gather up all the keywords, parse them into topics/subtopics and thereby generate the index. - Cris
Technical Details
Message-ID:
<2ccf3c88.8@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<2ccf3c88.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,ee2b3c498d942059 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2004-01-12 11:38:02 PST From: Cris_Lawrence@adobeforums.com Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: Re: (AS, CS) Relating page references to index subtopics Message-ID: <2ccf3c88.8@webx.la2eafNXanI> Date: Mon, 12 Jan 2004 11:12:22 -0800 References: <2ccf3c88.-1@webx.la2eafNXanI> Lines: 23 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit