Article View: adobe.scripting.indesign
Article #17438Re: how do I adjust textframe inset spacing with VB script?
From: maxhodges
Date: Thu, 12 Jun 2003 09:36
Date: Thu, 12 Jun 2003 09:36
36 lines
2103 bytes
2103 bytes
answering my own question:
Private Sub AdjustTableStroke(ByRef tbl As InDesign.Table,
ByVal StrokeWeight As Integer)
' Adjusts stroke weights of table and cells
' hard-coded to adjust Left and Right Insets!
Dim myCell As InDesign.Cell
With tbl
.BottomBorderStrokeWeight = StrokeWeight
.TopBorderStrokeWeight = StrokeWeight
.LeftBorderStrokeWeight = StrokeWeight
.RightBorderStrokeWeight = StrokeWeight
End With
For Each myCell In tbl.Cells
With myCell
.BottomEdgeStrokeWeight = StrokeWeight
.TopEdgeStrokeWeight = StrokeWeight
.LeftInset = 0
.RightInset = 0
End With
Next
End Sub
End Class
maxhodges@hotmail.com (maxhodges) wrote in message news:<6758a233.0306070141.56b438df@posting.google.com>...
> how do I adjust textframe bottom inset spacing with visual basic
> scripting? Can't find a reference to it anywhere. do they call it
> something else in script?
>
> tia,
> Max Hodges
> www.maxconsulting.us
Technical Details
Message-ID:
<6758a233.0306120136.3bf3240d@posting.google.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mailReferences:
<6758a233.0306070141.56b438df@posting.google.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,68d7a7dd5510d014 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-06-12 02:36:39 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail From: maxhodges@hotmail.com (maxhodges) Newsgroups: adobe.scripting.indesign Subject: Re: how do I adjust textframe inset spacing with VB script? Date: 12 Jun 2003 02:36:38 -0700 Organization: http://groups.google.com/ Lines: 36 Message-ID: <6758a233.0306120136.3bf3240d@posting.google.com> References: <6758a233.0306070141.56b438df@posting.google.com> NNTP-Posting-Host: 66.69.151.122 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1055410599 8672 127.0.0.1 (12 Jun 2003 09:36:39 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 12 Jun 2003 09:36:39 GMT