🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #905

Merging table rows, separating each row with a " | " character

#905
From: Scott_Wood
Date: Wed, 25 Feb 2009 17:13
7 lines
1586 bytes
I'm hoping someone can help me out with this! I have very basic scripting experience and I've been beating my head against my keyboard trying to figure this out.

I'm working on a catalog for a company where all the data for the products in coming into InDesign using Easy Catalog. My problem is that the company entered the data(and lots of it!) into the database slightly wrong.

In order to import the data, I have to use a table with 1 column to import the data, then easy catalog adds a table row for each line of info. Each page would have approximately 8 tables, each with a variable number of table rows.

The data is basically a bullet list, but they don't want it displayed as such. Instead it would be like this "item1 | item2 | item3 | item4". So I'm trying to figure out how to create a script that runs through and entire document, merges every table into a single line text, separating the data in each row with the " | " character. I'm using CS3. Much thanks to anyone that can help!
Technical Details
Message-ID: <59b80c76.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,ffe723b795c35e98,start
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Scott_Wood@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Merging table rows, separating each row with a " | " character
Message-ID: <59b80c76.-1@webcrossing.la2eafNXanI>
Date: Wed, 25 Feb 2009 09:13:46 -0800
Lines: 20
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit