Quantcast
Channel: Adobe Community: Message List - InDesign Scripting
Viewing all articles
Browse latest Browse all 37788

Re: columns.redistribute

$
0
0

@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


Viewing all articles
Browse latest Browse all 37788


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>