🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #2174

Re: [JS CS3] Merging table columns

#2174
From: Dave_Saunders
Date: Sat, 10 Jan 2009 14:37
7 lines
1000 bytes
I did some timing experiments a while back on referencing cells in tables and I was amazed to discover that the fastest way to reference a cell is:

myTable.cells.item("c:r")

where c is the column number and r is the row number. This was significantly faster (in my tests, probably in early CS3 days but might have been earlier) than any other method I could think of.

Dave
Technical Details
Message-ID: <59b779d3.1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeed.news2me.com!newshub.sdsu.edu!webcrossing
References: <59b779d3.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,fcf8b6c8e9285d5b
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Dave_Saunders@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeed.news2me.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: [JS CS3] Merging table columns
Message-ID: <59b779d3.1@webcrossing.la2eafNXanI>
Date: Sat, 10 Jan 2009 06:37:19 -0800
References: <59b779d3.-1@webcrossing.la2eafNXanI>
Lines: 11
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit