🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #676

Need help with Javascript

#676
From: Sharon_Entona
Date: Sat, 07 Mar 2009 05:42
7 lines
1152 bytes
Hi all,
I'm new to Javascript and need some help setting up a script for Indesign. I have a 100pg document which has about 8 price tickets on each page. On each ticket there is a BIG price and a little price. The dollar signs and cents values are superscripted for the BIG price... however, all instances of anything less than $1.00 is shown as (for example) $0.50. I've managed to get rid of all the "$0." but I need a script that will search for a text box with just two digits in it and then add a superscripted "�" sign after it.

So what is shown as 99
will show as 99�

Hope this makes sense, appreciate any help!
Technical Details
Message-ID: <59b825f3.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,bf65f0ea9955e42e,start
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII
From: Sharon_Entona@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Need help with Javascript
Message-ID: <59b825f3.-1@webcrossing.la2eafNXanI>
Date: Fri, 6 Mar 2009 21:42:06 -0800
Lines: 14
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit