Article View: adobe.scripting.indesign
Article #1706Re: Javascript to iterate over every cell in a table
From: Kevin_Bird
Date: Tue, 27 Jan 2009 14:24
Date: Tue, 27 Jan 2009 14:24
18 lines
1074 bytes
1074 bytes
Hi Dave
Thanks for the quick response.
I did notice the way Indesign draws cell rules, but I don't think that is my problem, but I'd like to run your script to be sure.
I apologise, but my scripting knowledge is limited and I cannot get it to run within ESTK. The line below errors:
if (app.documents.length > 0 && app.selection.length > 0) {
saying 'undefined is not an object'
Could you please point me in the right direction?
Kind regards.
--
Kevin
Technical Details
Message-ID:
<59b7b20d.1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossingReferences:
<59b7b20d.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,1dcd16a2120b1ad6 X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Kevin_Bird@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: Javascript to iterate over every cell in a table Message-ID: <59b7b20d.1@webcrossing.la2eafNXanI> Date: Tue, 27 Jan 2009 06:24:07 -0800 References: <59b7b20d.-1@webcrossing.la2eafNXanI> Lines: 20 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit