Article View: adobe.scripting.indesign
Article #20161Re: Access XML to InDesign
From: Olav Kvern
Date: Thu, 24 Oct 2002 19:04
Date: Thu, 24 Oct 2002 19:04
17 lines
1566 bytes
1566 bytes
Brian-- I'd start with the Scripting Guide tutorial. It's not specifically written for VBA (the Guide uses the full Visual Basic package), but the examples should work from the VBA environment. I don't have Access readily to hand, or I'd create an example for you. The basic steps, however, are the same as for VB: 1. Add a reference to the InDesign scripting object library. 2. Create a script that talks to the InDesign.Application object. In Word (at least Word 2000), you would choose Tools>Macros>Visual Basic Editor to bring up the VBA environment, then choose Tools>References to display the References dialog box, and then you would locate and select the Adobe InDesign 2.0 Type Library. After that, it's the same as shown in the tutorial. Let me know if this is enough to get you started! Thanks, Ole
Technical Details
Message-ID:
<1de64ec5.2@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!newsfeed.gamma.ru!Gamma.RU!newsfeeder.edisontel.com!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de64ec5.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,b83a840c6f64a088 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2002-10-24 12:18:05 PST From: "Olav Kvern" <okvern@adobe.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!newsfeed.gamma.ru!Gamma.RU!newsfeeder.edisontel.com!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Access XML to InDesign Message-ID: <1de64ec5.2@WebX.la2eafNXanI> Date: Thu, 24 Oct 2002 12:04:47 -0700 References: <1de64ec5.-1@WebX.la2eafNXanI> Lines: 24 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit