Article View: adobe.scripting.indesign
Article #17288(AS) OT fractions feature?
From: Eric McManus
Date: Mon, 23 Jun 2003 19:24
Date: Mon, 23 Jun 2003 19:24
7 lines
1656 bytes
1656 bytes
I'm writing some scripts to format a cookbook in Adobe Garamond Pro. That font has the handy ability to show things like "1/4" as a true fraction. I can, using manual Find/Change, apply this feature. However, change preference doesn't seem to have a property for turning on OpenType features as they are done in Find/Change. Should I be using Change? Maybe there is an easier method that I haven't thought of yet. Suggestions are most welcome. [Actually, the next thing I'll be needing for this cookbook project is a script to apply a character style to any parenthetical that is formatted in a particular paragraph style. When this cookbook was done in PageMaker, I had a script that would search for open parentheses and apply the formatting, then step forward one word at a time, applying the formatting, until a close paren was discovered. It was slow and ineffecient, but it worked. Does anyone have suggestions on how to do that in the somewhat-more-versatile InDesign scripting?]
Technical Details
Message-ID:
<1de9a683.-1@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebXShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,f332520123d2c8c6,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-06-23 12:37:46 PST From: "Eric McManus" <emcmanus@adobe.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: (AS) OT fractions feature? Message-ID: <1de9a683.-1@WebX.la2eafNXanI> Date: Mon, 23 Jun 2003 12:24:01 -0700 Lines: 18 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit