🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #20462

Re: Insert Character in middle of selection

#20462
From: Alan Stearns
Date: Thu, 11 Jul 2002 23:42
5 lines
1151 bytes
You've got the idea.  Instead of your notion of "counting," I usually describe it like this: 

set the myCounter variable to the number of items in the list.  Now loop over the following code, subtracting one from myCounter every time you get to the top of the loop.  Stop looping (and go through the code for the last time) when myCounter gets to 1. 

Alan
Technical Details
Message-ID: <ef98891.5@WebX.aaQKaf7vad4>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!dfw3-feed1.news.algx.net!jfk3-feed1.news.algx.net!allegiance!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <ef98891.-1@WebX.aaQKaf7vad4>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,943e1fd1b0f09137
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-07-11 17:37:49 PST
From: "Alan Stearns" <astearns@adobe.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!dfw3-feed1.news.algx.net!jfk3-feed1.news.algx.net!allegiance!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Insert Character in middle of selection
Message-ID: <ef98891.5@WebX.aaQKaf7vad4>
Date: Thu, 11 Jul 2002 16:42:47 -0700
References: <ef98891.-1@WebX.aaQKaf7vad4>
Lines: 9
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit