Article View: adobe.scripting.indesign
Article #20317Re: Table Formatting
From: frickchen
Date: Thu, 18 Jul 2002 18:15
Date: Thu, 18 Jul 2002 18:15
18 lines
1680 bytes
1680 bytes
I'm hoping someone can help on an urgent table formatting need. I think I've bitten off more than I can chew on a publication I'm working on. I have a ton of tables to format. So far, I've written a script to get the lines, but need to know how to set the fill and character style of the table. The table needs to have a different first row as well (different characterstyle and fill). I haven't been able to find any sample scripts to assist me. Can anyone help? This is what I have so far: tell application "InDesign 2.0" set theFrame to item 1 of selection set myTable to table 1 of theFrame set rowCount to row count of table 1 of theFrame set colCount to column count of table 1 of theFrame set dString to "Table is " & rowCount & " by " & colCount display dialog dString set bottom edge stroke weight of rows of myTable to "1pt" set left edge stroke weight of columns of myTable to "2pt" end tell
Technical Details
Message-ID:
<ef9ba14.0@WebX.aaQKaf7vad4>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!newspump.sol.net!newsfeed.cwix.com!news-hub.siol.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<ef9ba14.-1@WebX.aaQKaf7vad4>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,9a4ea47000f3fd44 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2002-07-18 11:42:39 PST From: frickchen <frickchen@mac.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!newspump.sol.net!newsfeed.cwix.com!news-hub.siol.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Table Formatting Message-ID: <ef9ba14.0@WebX.aaQKaf7vad4> Date: Thu, 18 Jul 2002 11:15:47 -0700 References: <ef9ba14.-1@WebX.aaQKaf7vad4> Lines: 23 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit