Article View: adobe.scripting.indesign
Article #865Re: Merging table rows, separating each row with a " | " character
From: Kasyan_Servetsky
Date: Fri, 27 Feb 2009 07:50
Date: Fri, 27 Feb 2009 07:50
10 lines
901 bytes
901 bytes
var myDoc = app.activeDocument;
for (i = myDoc.stories.length - 1; i >= 0; i --) {
for (j = myDoc.stories[i].tables.length - 1; j >= 0; j --) {
var myTable = myDoc.stories[i].tables[j];
myTable.convertToText(",", "|");
}
}
Technical Details
Message-ID:
<59b80c76.3@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossingReferences:
<59b80c76.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,ffe723b795c35e98 X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Kasyan_Servetsky@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: Merging table rows, separating each row with a " | " character Message-ID: <59b80c76.3@webcrossing.la2eafNXanI> Date: Thu, 26 Feb 2009 23:50:15 -0800 References: <59b80c76.-1@webcrossing.la2eafNXanI> Lines: 6 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit