Article View: adobe.scripting.indesign
Article #17919Re: More discussion on memory
From: John Darnell
Date: Wed, 07 May 2003 20:14
Date: Wed, 07 May 2003 20:14
10 lines
1736 bytes
1736 bytes
Dave: Ole is right. I am reading in a script, interpreting the commands I identify therein, and using the information to build text frames, image frames, etc., on multiple pages/documents. I do some formatting of text so I will need to learn as much as I can about that subject. I looked at Shirley Hopkins' InDesign scripting book, and the way she presents Text Styles, it lead me to believe that I have no say in setting up the ranges (her example shows only how to access the ranges that already exist--not how to create new ranges). Ole: At present I am reading the script in a line at a time. Reading the whole file in at one gulp would probably not speed up the process all that much by itself alone, but it *would* solve some sticky problems I'm having with commands that run across more than two lines of code, and it would allow me to parse the script more efficiently. At least, that's the theory. Nevertheless, I'll heed what you recommend. Thanks both for your input. John
Technical Details
Message-ID:
<1de908fa.2@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!newsfeeds.sol.net!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de908fa.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,91a288daf42dd97b X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-05-07 13:38:28 PST From: "John Darnell" <John.Darnell@Walsworth.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!newsfeeds.sol.net!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: More discussion on memory Message-ID: <1de908fa.2@WebX.la2eafNXanI> Date: Wed, 7 May 2003 13:14:35 -0700 References: <1de908fa.-1@WebX.la2eafNXanI> Lines: 22 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit