change cell inset
Hi, I have tables with different values of bottoms cell inset. I would like to change the value of those who have 2mm for 3mm. I tried a few things but they change all the bottom cell insets. Thanks!
Hi, I have tables with different values of bottoms cell inset. I would like to change the value of those who have 2mm for 3mm. I tried a few things but they change all the bottom cell insets. Thanks!
well, I tried on a document with only one table, but when I'm in a larger file with a lot of tables it make a error.
// by FRIdNGE, november 2018
var myCells = app.activeDocument.stories.everyItem().tables.everyItem().cells.everyItem().getElements();
for (var c = 0; c < myCells.length; c++) if ( myCells
.bottomInset == 2 ) myCells .bottomInset = 3;
Best,
Michel
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.