Article View: adobe.scripting.indesign
Article #20320Re: Table Formatting
From: frickchen
Date: Thu, 18 Jul 2002 19:06
Date: Thu, 18 Jul 2002 19:06
18 lines
1609 bytes
1609 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.2@WebX.aaQKaf7vad4>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!newsfeed.online.be!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 12:14:05 PST From: frickchen <frickchen@mac.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Table Formatting Message-ID: <ef9ba14.2@WebX.aaQKaf7vad4> Date: Thu, 18 Jul 2002 12:06:37 -0700 References: <ef9ba14.-1@WebX.aaQKaf7vad4> Lines: 23 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit