🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9567

Replacing dashes with en dashes

#9567
From: Jay_F
Date: Thu, 17 Aug 2006 21:41
7 lines
1054 bytes
I'm very new to the scripting forum and I couldn't script something like this but ...

I wish I had a script that would search an entire document and replace all the dashes that appear between numbers with en dashes. (This happens in many references when referring to page numbers.) There's a limited amount numbers to replace but it's too time consuming to do all the possibilities one at a time.

Any ideas or help if there's something like this available would be appreciated?

Thanks... Jay
Technical Details
Message-ID: <3bc14cf7.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!news2.volia.net!news.ecp.fr!news.stben.net!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,78db2a3c51ff15ff,start
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Jay_F@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: Replacing dashes with en dashes
Message-ID: <3bc14cf7.-1@webcrossing.la2eafNXanI>
Date: Thu, 17 Aug 2006 14:41:01 -0700
Lines: 13
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!news2.volia.net!news.ecp.fr!news.stben.net!webcrossing