🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #20051

Re: Create some new tab stop

#20051
From: Peter Boctor
Date: Tue, 05 Nov 2002 22:59
18 lines
1384 bytes
Battistelli, 

I can create multiple tabs in a paragraph style. What are you trying to do with this line: 

If you are trying to set the attributes of one tab stop to another tab stop, then it won't work that way. You have to explicitly iterate through each of the properties and get them from the old tab and set them to the new tab. 

Here is a snippet that shows adding multiple tabs on a document: 



 
Set ID = CreateObject("InDesign.Applications") 
Set myDoc = ID.Documents.Add 
Set myNewStyle = myDoc.ParaStyles.Add 
For i = 1 To 4 
Set newTab = myNewStyle .TabStops.Add 
newTab.position = i 
Next i 
Technical Details
Message-ID: <1de675d6.2@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-04!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!news-out.visi.com!hermes.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de675d6.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,da0cd3641e5fa52b
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-11-05 15:10:08 PST
From: "Peter Boctor" <peter.boctor@adobe.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-04!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!news-out.visi.com!hermes.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Create some new tab stop
Message-ID: <1de675d6.2@WebX.la2eafNXanI>
Date: Tue, 5 Nov 2002 14:59:37 -0800
References: <1de675d6.-1@WebX.la2eafNXanI>
Lines: 21
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit