Copy link to clipboard
Copied
I need a script that would unmerge all cells whitin all of the tables found in active text frame. Aditionally it would resize collum widths and row heights to accomodate hidden text.
I have lots of badly put togehter tables from Word. Automation would help a lot.
Thx!
This one-liner unmerges all cells in all tables in the active document:
app.activeDocument.stories.everyItem().tables.everyItem().cells.everyItem().unmerge();
Peter
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Michael thank you for that. Now I just need the fisrt part of my wish resoleved and it will be a happy day. Unmearge of all mearged cells whitin all of the tables found whitin active text box.
Copy link to clipboard
Copied
This one-liner unmerges all cells in all tables in the active document:
app.activeDocument.stories.everyItem().tables.everyItem().cells.everyItem().unmerge();
Peter
Copy link to clipboard
Copied
thnk you very much pkahrel!
Copy link to clipboard
Copied
Hi Peter,
I have seen your script for unmerging all merged cells in tables within a document (which works very well) but is there a way to specify to only merge specific cells in a table e.g 1st column, rows 1, 2 and 3.
I have a indesign document that has 100's of tables and a script would be very helpful.
thank you
David
Copy link to clipboard
Copied
Hello David,
I'm sure there is one, but I don't know of it. Maybe ask in InDesign's
scripting forum.
best,
Peter
On Thu, 10 May 2018 08:05:31 +0100, frontline design
Copy link to clipboard
Copied
thanks for your help.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now