Article View: adobe.scripting.indesign
Article #17936Re: Best way to store program info
From: Olav Kvern
Date: Thu, 08 May 2003 19:59
Date: Thu, 08 May 2003 19:59
11 lines
1569 bytes
1569 bytes
John-- What would be wrong with simply saving the translation table (macro string and font name) in a text file? AppleScript does a great job reading tab or comma delimited text files, and you could simply read the string values into an AppleScript list or record when the script starts up. XML would be another reasonable approach--save the macro and font names as key/value pairs in a simple XML database. You'd probably need to get the XML tools AppleScript extension from Late Night Software if you took this approach. Frankly, I don't see any reason for a scripter to have to use a separate database application unless their data already resides in a database of a specific type. The scripting languages are just so good at manipulating text databases that there's no need for a separate application. Just my opinion, of course. Thanks, Ole
Technical Details
Message-ID:
<1de909c4.2@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de909c4.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,e360e25432baca67 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-05-08 13:07:56 PST From: "Olav Kvern" <okvern@adobe.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Best way to store program info Message-ID: <1de909c4.2@WebX.la2eafNXanI> Date: Thu, 8 May 2003 12:59:26 -0700 References: <1de909c4.-1@WebX.la2eafNXanI> Lines: 21 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit