Article View: adobe.scripting.indesign
Article #17227Re: [AS]How to make an index entry/page reference
From: Eric McManus
Date: Wed, 25 Jun 2003 19:59
Date: Wed, 25 Jun 2003 19:59
25 lines
1529 bytes
1529 bytes
Thanks for the reply, Ole. I saw the example, but I can't translate VB syntax into AppleScript very well, and there is no AppleScript example. From the little I know, it seems like the proper line is going to be something like: tell selection to make page reference or set myIndexEntry to make topic but those don't work. Nor do any of the variations I keep trying. I'm told "Can't make a page reference" or "Can't make a topic." To my inexperienced eye, those lines seem equivalent to: Set myTopic = myIndex.Topics.Add(myIndexKey(1), myIndexKey(4)) in your example, except that I'm trying to use the selected text rather than reading an array. I realize this should be simple, but I'm just not getting this one :-}
Technical Details
Message-ID:
<1de9aedc.1@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de9aedc.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,16d152d745c9958c X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-06-25 13:08:03 PST From: "Eric McManus" <emcmanus@adobe.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: [AS]How to make an index entry/page reference Message-ID: <1de9aedc.1@WebX.la2eafNXanI> Date: Wed, 25 Jun 2003 12:59:51 -0700 References: <1de9aedc.-1@WebX.la2eafNXanI> Lines: 21 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit