🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #15697

Re: Adding a column within a table

#15697
From: Olav_Kvern
Date: Thu, 20 Nov 2003 22:39
14 lines
1158 bytes
Dave--

It's weird that the before and after location options don't work--but, as far as I can tell, they don't (at least when you're adding columns). You also can't create the column at the end and then move the column to the correct location--column does not have a move method.

You can use the split method to accomplish what you want to do, however, as in:



var myTable = app.documents.item(0).textFrames.item("Target").tables.item(0); 
myTable.columns.item(1).split(HorizontalOrVertical.vertical);

Thanks,

Ole
Technical Details
Message-ID: <2cce81b1.5@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx
References: <2cce81b1.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,620333df8eace87c
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-11-20 15:10:28 PST
From: Olav_Kvern@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Re: Adding a column within a table
Message-ID: <2cce81b1.5@webx.la2eafNXanI>
Date: Thu, 20 Nov 2003 14:39:03 -0800
References: <2cce81b1.-1@webx.la2eafNXanI>
Lines: 16
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit