🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #15691

Re: Adding a column within a table

#15691
From: Dave_Saunders
Date: Thu, 20 Nov 2003 21:42
10 lines
927 bytes
Well of course it does. Those should be round brackets. OK, try again:

myTable=app.documents[0].textFrames.item('Target').tables[0];
myTable.columns.add(LocationOptions.before,myTable.columns.item(1));

That's better. Now the error message is "Invalid parameter".

Bang, Bang, Bang.

Dave
Technical Details
Message-ID: <2cce81b1.0@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 14:08:31 PST
From: Dave_Saunders@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.0@webx.la2eafNXanI>
Date: Thu, 20 Nov 2003 13:42:47 -0800
References: <2cce81b1.-1@webx.la2eafNXanI>
Lines: 10
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit