🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #18146

Re: Change the font of characters (AS)

#18146
From: Jay Fraser
Date: Wed, 16 Apr 2003 16:24
14 lines
1173 bytes
Hey! This sounds a lot like what I was just doing ...

I don't know if it's all the index checking that's slowing you down, but you can do it all based on paragraphs:



set properties of text from character 1 to (character 1 whose contents = "	") of paragraph i to {applied font:"Times", font style:"Bold"} 




On my machine (Mac G4 400 mhz) it did 83 changes in 7 seconds.

Jay
Technical Details
Message-ID: <1de8bfdc.2@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!diablo.voicenet.com!proxad.net!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de8bfdc.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,f7431b34e5085098
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-04-16 09:37:57 PST
From: "Jay Fraser" <jayfraser@yahoo.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!diablo.voicenet.com!proxad.net!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Change the font of characters (AS)
Message-ID: <1de8bfdc.2@WebX.la2eafNXanI>
Date: Wed, 16 Apr 2003 09:24:25 -0700
References: <1de8bfdc.-1@WebX.la2eafNXanI>
Lines: 12
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit