Article View: adobe.scripting.indesign
Article #16382Re: [VP] Textwrat on frames
From: Guy Verville
Date: Sat, 20 Sep 2003 03:22
Date: Sat, 20 Sep 2003 03:22
11 lines
1411 bytes
1411 bytes
I'm not sure what you're telling me. My purpose was to set a footnote frame. There is some calculation pertinent to the pub was I working on it. Units are in picas. You did give me the right direction. Thanks again.
Set myindesign = CreateObject("InDesign.Application.2.0")
Set MyDoc = myindesign.ActiveDocument
Set MySelection = MyDoc.Selection.Item(1)
MySelection.TextWrap=idBoundingBoxTextWrap
MySelection.TextWrapOffset=Array(1,0,0,0)
Lines=CDbl(InputBox("How much lines your footnote?",1))*.87
myBounds = mySelection.GeometricBounds
myBounds(0) = myBounds(2)-Lines
mySelection.GeometricBounds=myBounds
Technical Details
Message-ID:
<2ccd7b9d.3@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!217.73.144.44.MISMATCH!ecngs!feeder.ecngs.de!npeer.de.kpn-eurorings.net!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<2ccd7b9d.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,6893db0b3ed97e82 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-09-19 20:37:58 PST From: "Guy Verville" <taddeus@spamcop.net> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!217.73.144.44.MISMATCH!ecngs!feeder.ecngs.de!npeer.de.kpn-eurorings.net!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: Re: [VP] Textwrat on frames Message-ID: <2ccd7b9d.3@webx.la2eafNXanI> Date: Fri, 19 Sep 2003 20:22:25 -0700 References: <2ccd7b9d.-1@webx.la2eafNXanI> Lines: 13 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit