Article View: adobe.scripting.indesign
Article #16624Automating "Update Table of Contents" from VB
From: Noah Sandler
Date: Wed, 20 Aug 2003 14:05
Date: Wed, 20 Aug 2003 14:05
5 lines
1168 bytes
1168 bytes
I have a Table of Contents already created on a page, and I'd like to update it after adding page items to the document via VB. Can I use Document.CreateTOC for that? If so, what do I put for the Book and placePoint parameters? I'm getting very frustrated with parameters being listed as "Variant" when they could be Array (y, x) or possibly Array (x1, y1, x2, y2), or possibly some object, and there's no documentation anywhere on what's expected.
Technical Details
Message-ID:
<2cccfb0c.-1@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webxShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,e1cea0f4c4c9d823,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-08-20 07:10:06 PST From: "Noah Sandler" <nsandler@sckdesign.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: Automating "Update Table of Contents" from VB Message-ID: <2cccfb0c.-1@webx.la2eafNXanI> Date: Wed, 20 Aug 2003 07:05:18 -0700 Lines: 10 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit