Article View: adobe.scripting.indesign
Article #18720Fraction script needed for PC InDesign 2
From: Penny Sitler
Date: Tue, 25 Feb 2003 22:48
Date: Tue, 25 Feb 2003 22:48
40 lines
1675 bytes
1675 bytes
We need a script for creating fractions automatically in InDesign, like the old one for Pagemaker 5 (which we've been hoarding since 1993). It still works in PM7! I'm unfamiliar with Visual Basic, so if anyone is interested in creating such a script, please speak up! Here's the content of the Pagemaker script I mentioned. Will pay development fee. Thanks! Penny Sitler -- Aldus Corporation 1993 -- Fraction script -- Selects and reformats the denominator textselect -word typeoptions 80,58,33,0 --Size and position can be adjusted for better -- results with different fonts position subscript textcursor -char -- Selects and changes normal slash -- to opt shift 1 fraction slash (Mac only) textselect 0 textenter "/" --Selects and reformats the numerator textcursor -char textselect -word typeoptions 80,58,33,0 position superscript --Leaves cursor where you started to resume printing textcursor +word 2 position normal redraw on -- end of script
Technical Details
Message-ID:
<1de806af.-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!eusc.inter.net!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,4c037c72884d9464,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-02-25 15:07:46 PST From: "Penny Sitler" <psitler@draperinc.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!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Fraction script needed for PC InDesign 2 Message-ID: <1de806af.-1@WebX.la2eafNXanI> Date: Tue, 25 Feb 2003 14:48:47 -0800 Lines: 44 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit