🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9690

Re: Variation of Dave's Script in "How To Begin Scripting"

#9690
From: Dave_Saunders
Date: Thu, 20 Jul 2006 15:41
7 lines
1350 bytes
Well, you're adding all these anchor points and they're messing up the references. I suppose though that with your approach, the second set of Finds will use references that take the new anchors into account.

But what if there's more than one story involved? Seems to me that the simplest approach is to use the adjusted reference to the found text (although finding characters by range can be a bit slow). But my sense would be to just get each one over and done with.

In the beginning (now there's a phrase someone should use!), you said you wanted to anchor at the third word, but you seem to have changed to the fourth word -- is that a deliberate change or a slip of the pen?

Dave
Technical Details
Message-ID: <3bc0ed94.26@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!newsfeed.freenet.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing
References: <3bc0ed94.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,c3f000112de732ba
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Dave_Saunders@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: Re: Variation of Dave's Script in "How To Begin Scripting"
Message-ID: <3bc0ed94.26@webcrossing.la2eafNXanI>
Date: Thu, 20 Jul 2006 08:41:09 -0700
References: <3bc0ed94.-1@webcrossing.la2eafNXanI>
Lines: 14
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!newsfeed.freenet.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing