🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #20784

Re: Applescript: make a text frame on a master page

#20784
From: Olav Kvern
Date: Thu, 06 Jun 2002 17:46
17 lines
1913 bytes
Carl-- 

We had a thread going on label conventions earlier, but now--thanks in part to the forum's truly miserable Search feature--I can't find it. Anyway, yes, planning is good.<g> 

One thing that we talked about earlier was using some kind of a field separator in labels--that way, multiple scripts could make use of the label feature.  

Why would we need conventions for label delimiters? If script A expects to find the name of the object in the lable, and script B expects to find an array containing the object's ideal coordinates, and script C expects to find an executable script snippet...you can see that it gets complicated pretty fast. Next, scripts should not erase the label information left by other scripts. 

I've taken to structuring labels something like an AppleScript record: 

<property>:<value>| <property>:<value>|, etc.  

Then, when I'm testing for a given value, I use containment comparison operators rather than equality operators. This way, I can store multiple property/value pairs in a label. 

Thanks, 

Ole
Technical Details
Message-ID: <ef8e3b9.18@WebX.aaQKaf7vad4>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!207.217.77.43.MISMATCH!newsfeed1.earthlink.net!newsfeed2.earthlink.net!newsfeed.earthlink.net!netnews.com!feed2.news.rcn.net!rcn!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <ef8e3b9.-1@WebX.aaQKaf7vad4>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,8e47b5875d947fcb
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-06-06 11:07:54 PST
From: "Olav Kvern" <okvern@adobe.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!207.217.77.43.MISMATCH!newsfeed1.earthlink.net!newsfeed2.earthlink.net!newsfeed.earthlink.net!netnews.com!feed2.news.rcn.net!rcn!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Applescript: make a text frame on a master page
Message-ID: <ef8e3b9.18@WebX.aaQKaf7vad4>
Date: Thu, 6 Jun 2002 10:46:31 -0700
References: <ef8e3b9.-1@WebX.aaQKaf7vad4>
Lines: 29
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit