Reply To: Define table row heights, column widths in styles somehow?

Home Page / Forums / General InDesign Topics (CLOSED) / Define table row heights, column widths in styles somehow? / Reply To: Define table row heights, column widths in styles somehow?

#52821
Roland
Member

Of course clients keep changing their minds, so I've had to adjust the script so it can change the width of a column in all tables. Turns out it takes only two words to be changed, along with the values of course:

app.activeDocument.stories.everyItem().tables.everyItem().rows[0].height = “12mm“;
app.activeDocument.stories.everyItem().tables.everyItem().columns[4].width = “6mm“;

It doesn't change the fact better planning probably wouldn't have made the scripts necessary at all, but it looks like most of the data has changed (gotta love “final versions” changing several times) so I'll have to start copying data from scratch anyway.

This article was last modified on May 30, 2010

Comments (0)

Loading comments...