Article View: adobe.scripting.indesign
Article #17258Re: Best place to store (non-visual) info?
From: Olav Kvern
Date: Fri, 20 Jun 2003 18:29
Date: Fri, 20 Jun 2003 18:29
13 lines
1842 bytes
1842 bytes
Ana-- I think that Johannes and Roberto are on the right track (sorry about the documentation Jens--the XMP scripting was not working well when the Scripting Guide had to be completed for InDesign 2.0)--use the label property of some object to store your data. Roberto suggests adding the data to an object, then training your users to select the object and use the Script Label palette to view/edit the string; Johannes suggests storing the data in the Document.Label and creating your own user interface for it. Both methods have advantages and disadvantages. Roberto's approach requires that you create an object in the document that users must then select, but has the advantage of using the Script Label palette; Johannes' approach stores the data invisibly and allows for multiple data fields, but requires a separate .exe for getting at the data. I'd say it depends on the amount of data you want to store/edit. If it's just a single line of text, then Roberto's approach is probably better; if you need to store more information (and multiple fields/records), then Johannes' approach is better. Thanks, Ole
Technical Details
Message-ID:
<1de99c73.3@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de99c73.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,1497ef569aff8392 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-06-20 11:37: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-09!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Best place to store (non-visual) info? Message-ID: <1de99c73.3@WebX.la2eafNXanI> Date: Fri, 20 Jun 2003 11:29:15 -0700 References: <1de99c73.-1@WebX.la2eafNXanI> Lines: 26 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit