🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #17533

Re: funny search

#17533
From: Roy Marshall
Date: Tue, 03 Jun 2003 15:41
9 lines
1059 bytes
OK.
The below works, using a combination of "enumerations" and "code" Does anyone know why?

set mytext2 to search in myStory for "^n^t"
	repeat with n from (count of mytext2) to 1 by -1
		set contents of item n of mytext2 to forced line break
	end repeat

it beats me (which isn't too hard!
Technical Details
Message-ID: <1de960ed.4@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de960ed.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,94d443c28e570306
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-06-03 09:07:51 PST
From: "Roy Marshall" <royston_marshall@hotmail.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: funny search
Message-ID: <1de960ed.4@WebX.la2eafNXanI>
Date: Tue, 3 Jun 2003 08:41:30 -0700
References: <1de960ed.-1@WebX.la2eafNXanI>
Lines: 10
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit