@Trevor – I still would like "shaking the tree" with my method.
That is working in every case:
//Redistribute all tables without redistribute() method:
var myTables = app.documents[0].stories.everyItem().tables.everyItem().getElements(); for(var n=0;n<myTables.length;n++){ //Expand the width of the table a bit: myTables[n].width = ++myTables[n].width; //Shrink it back (in the process all columns will be redistributed evenly in width): myTables[n].width = --myTables[n].width; };
Uwe