🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #17415

Re: What am I doing?

#17415
From: Shane Stanley
Date: Tue, 10 Jun 2003 07:29
26 lines
1907 bytes
On 10/6/03 3:27 PM +1000, Richard Ronnback, richard.ronnback@telia.com,
wrote:

> 1) pure text, I guess I would then have to identify the properties by line
> numbers or some text delimiter

With enumerations and booleans you'd also need some mechanism to read/write
in text form, so you're looking at some kind of translation table in your
script. It's going to be fairly complicated.
> 
> 2) XML, then I need some XML parsing abilities. I think Late Night
> Software's XML Tool would work, but I really would prefer not to use an
> OSAX

XML would have the same problems as above, plus all its own. Only for
masochists.
> 
> 3) To store it as a script, if it's possible. Can you have a script that
> creates a new script file, that you can later load?

Yes. Check out the store script and run script commands in Standard
Additions. But that's going to be even less human-readable.


-- 
Shane Stanley,  sstanley@myriad-com.com.au
Technical Details
Message-ID: <BB0BC606.5C2A5%sstanley@myriad-com.com.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!cyclone.bc.net!logbridge.uoregon.edu!xmission!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de973af.-1@WebX.la2eafNXanI> <BB0B46CD.5C257%sstanley@myriad-com.com.au> <BB0B38C8.13008%richard.ronnback@telia.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,c96d2f46ce21a187
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-06-10 00:37:54 PST
From: Shane Stanley <sstanley@myriad-com.com.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!cyclone.bc.net!logbridge.uoregon.edu!xmission!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: What am I doing?
Message-ID: <BB0BC606.5C2A5%sstanley@myriad-com.com.au>
Date: Tue, 10 Jun 2003 00:29:42 -0700
References: <1de973af.-1@WebX.la2eafNXanI> <BB0B46CD.5C257%sstanley@myriad-com.com.au> <BB0B38C8.13008%richard.ronnback@telia.com>
Lines: 32
User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.6
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit