🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9305

Re: JS Scripting Alternating Row Fills in Table

#9305
From: Robert Tkaczyk
Date: Sat, 26 Aug 2006 18:37
33 lines
1622 bytes
> function formatTable(tb){
> 	with (tb){
> 		alternatingFills = AlternatingFillsTypes.alternatingRows;
> 		startRowFillColor = app.swatches.item("Black");
> 		startRowFillTint = 10;
> 		startRowFillCount = 1;
> 		skipFirstAlternatingFillRows = 0;
> 	}

Property StartRowStrokeCount As Long
     Member of InDesign.Table
     The number of rows in the first alternating strokes group

Property EndRowStrokeCount As Long
     Member of InDesign.Table
     The number of rows in the second alternating strokes group

you need to set SECOND ALTERNATING info


StartRowFill*
StartRowStroke*

EndRowFill*
EndRowStroke*

StartColumnFill*
StartColumnStroke*

EndColumnFill*
EndColumnStroke*

robin
Technical Details
Message-ID: <CE6884902ECB5A5032A150910B0023BD@in.webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!193.190.198.17.MISMATCH!syros.belnet.be!news.belnet.be!news.stben.net!webcrossing
References: <3bc168bf.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,9a66a9548287d782
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Robert Tkaczyk <indesignscripts@wp.pl>
Newsgroups: adobe.scripting.indesign
Subject: Re: JS Scripting Alternating Row Fills in Table
Message-ID: <CE6884902ECB5A5032A150910B0023BD@in.webcrossing.la2eafNXanI>
Date: Sat, 26 Aug 2006 11:37:45 -0700
References: <3bc168bf.-1@webcrossing.la2eafNXanI>
Lines: 33
User-Agent: Thunderbird 1.5.0.5 (Windows/20060719)
X-Antivirus: avast! (VPS 0634-2, 2006-08-24), Outbound message
X-Antivirus-Status: Clean
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!193.190.198.17.MISMATCH!syros.belnet.be!news.belnet.be!news.stben.net!webcrossing