Article View: adobe.scripting.indesign
Article #17426Re: Reset transforms to 100%
From: Shane Stanley
Date: Wed, 11 Jun 2003 10:03
Date: Wed, 11 Jun 2003 10:03
23 lines
1617 bytes
1617 bytes
On 11/6/03 7:44 AM +1000, Kenny Hoff, kenny@laneandlanedesign.com, wrote: > How hard would it be to create a script to take a group with multiple text > frames in it that have been scaled (as a group) and apply the "Transform Group > Content" command, then the "Scale Text Attributes" to every text frame in the > group? You mean something like this? tell application "InDesign 2.0.2" set theSelection to item 1 of selection if class of theSelection is group then transform group contents theSelection set textFrames to text frames of (get all page items of theSelection) repeat with aFrame in textFrames scale text attributes aFrame end repeat end if end tell -- Shane Stanley, sstanley@myriad-com.com.au
Technical Details
Message-ID:
<BB0D3B74.5C5B7%sstanley@myriad-com.com.au>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de9579c.-1@WebX.la2eafNXanI> <1de9579c.13@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,3645d1b4a9bc81d1 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-06-11 03:07:51 PST From: Shane Stanley <sstanley@myriad-com.com.au> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Reset transforms to 100% Message-ID: <BB0D3B74.5C5B7%sstanley@myriad-com.com.au> Date: Wed, 11 Jun 2003 03:03:01 -0700 References: <1de9579c.-1@WebX.la2eafNXanI> <1de9579c.13@WebX.la2eafNXanI> Lines: 28 User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.6 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit