🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #677

Re: Need help with Javascript

#677
From: Peter Kahrel
Date: Sat, 07 Mar 2009 08:49
8 lines
973 bytes
In CS3 and CS4 you don't need a script for this. Using the GREP tab in the Find/Change dialog, do this:

Find what: \A(\d\d)\z
Change to: $1�

\A stands for "beginning of story", \d is "any digit", \z means "end of story", so by searching for \A\d\d\z you're looking for stories that consist of two digits. This would work only if those two-digit text frames are not threaded.

Peter
Technical Details
Message-ID: <59b825f3.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
References: <59b825f3.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,bf65f0ea9955e42e
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII
From: "Peter Kahrel" <kahrel@kahrel.plus.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: Need help with Javascript
Message-ID: <59b825f3.0@webcrossing.la2eafNXanI>
Date: Sat, 7 Mar 2009 00:49:07 -0800
References: <59b825f3.-1@webcrossing.la2eafNXanI>
Lines: 12
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit