🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #17246

Re: Best place to store (non-visual) info?

#17246
From: Johannes Buchmann
Date: Fri, 20 Jun 2003 11:34
17 lines
1331 bytes
Ana--

I store information as String in Item-Labels. i.g. I store
myInfo1 = "foo"
myInfo2 = "bar"
myInfo3 = "bernd"
myInfo4 = "uschi"

as

Item.Label = "myInfo1#foo@myInfo2#bar@myInfo3#bernd@myInfo4#uschi"
to read this from document i use Split() and create a collection or dictionary or array or whatever

AFAIK the Label is not visible for Users
So for User Interaction i'd create a Form, which ensures the integrity as long as Item with Label remains in Doc - 1st Page or something like that...

johannes
Technical Details
Message-ID: <1de99c73.2@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!hermes.visi.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <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 04:37:47 PST
From: "Johannes Buchmann" <johannesbuchmann@hotmail.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!hermes.visi.com!news-out.visi.com!petbe.visi.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: Re: Best place to store (non-visual) info?
Message-ID: <1de99c73.2@WebX.la2eafNXanI>
Date: Fri, 20 Jun 2003 04:34:21 -0700
References: <1de99c73.-1@WebX.la2eafNXanI>
Lines: 20
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit