🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #14594

Database ->> ID Tables -- Best method? (AS)

#14594
From: Pete_Johnston
Date: Fri, 23 Jan 2004 05:27
9 lines
1838 bytes
Hi,

I'm working on some scripts to set up indesign (2.0) tables using text from a FileMaker database and in some cases imported graphics (actually, I've been adding the graphics from a library). The script I am using now works great, but is very slow. It steps through each cell of the table and 1) gets data from several FileMaker databases, 2) sets the contents of the cell to the FM data, 3) applies paragraph styles as required, 4) repositions the insertion point and places an asset as an inline graphic, and 5) applies a character style to the inline graphic. This is taking several minutes for each table.

I'm wondering if the process could be sped up by importing the entire table at once as tagged text. (Am I right that XML import would not be an option since XML does not support tables?) I can certainly use filemaker and applescript to generate tagged text. Can I just set up a table and import the text for all cells at once (with formatting)? Also, I understand that tagged text does not support inlline graphics. What would be the best way to get those in? Finally, would CS (as opposed to 2.0) make things any easier for me?

Thanks,

Pete
Technical Details
Message-ID: <2ccf86e6.-1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!webx

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,a184049de20316c5,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2004-01-22 21:37:34 PST
From: Pete_Johnston@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Database ->> ID Tables -- Best method? (AS)
Message-ID: <2ccf86e6.-1@webx.la2eafNXanI>
Date: Thu, 22 Jan 2004 21:27:19 -0800
Lines: 24
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit