Article View: adobe.scripting.indesign
Article #17612Re: Text Formatting, Revisited
From: Olav Kvern
Date: Sun, 25 May 2003 19:27
Date: Sun, 25 May 2003 19:27
11 lines
1509 bytes
1509 bytes
John--
I think I said this at the outset, but having your script convert the proprietary tags into InDesign tagged text is the fastest way to go. AppleScript can process text files quite well, and the search/replace capabilities are very good. All you need to do is create a list of {{search_string, replace_string},...} and go for it.
Because your tags are embedded in text that also contains layout information, you'll need to set your script up so that it mixes and matches operations, but I don't think you'll have much trouble with it.
Kari--this is for an automated layout system where John is already getting the files in a text markup format. There's not really a need to open the files with BBEdit to make manual changes (or automated changes, for that matter).
Thanks,
Ole
Technical Details
Message-ID:
<1de9428b.2@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de9428b.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,b8f626ee7f33ff48 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-05-25 12:38:07 PST From: "Olav Kvern" <okvern@adobe.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Text Formatting, Revisited Message-ID: <1de9428b.2@WebX.la2eafNXanI> Date: Sun, 25 May 2003 12:27:55 -0700 References: <1de9428b.-1@WebX.la2eafNXanI> Lines: 20 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit