Article View: adobe.scripting.indesign
Article #2227Add is not a funtion (when adding a topic)
From: Morgan_Routledge
Date: Tue, 06 Jan 2009 22:41
Date: Tue, 06 Jan 2009 22:41
3 lines
1206 bytes
1206 bytes
app.documents[0].indexes[0].indexSections.item(2).topics.add(); returns with 'is not a function'. I'm not sure if this is a bug but for the life of me, I can't call that method. app.documents[0].indexes[0].indexSections.item(2).topics.count() is vaild and returns with an integer and app.documents[0].indexes[0].indexSections.item(2).topics.constructor.name returns 'topics' so I know i'm in the right context. Does anyone have any insight? To give you a little more information, I am trying to create an index from a word list but i'm running into problems creating a new topic entry.
Technical Details
Message-ID:
<59b77140.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,baead8bc4b72bb6b,start X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Morgan_Routledge@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Add is not a funtion (when adding a topic) Message-ID: <59b77140.-1@webcrossing.la2eafNXanI> Date: Tue, 6 Jan 2009 14:41:43 -0800 Lines: 2 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Original-Lines: 11