...The problem is the insertion point. How do I create a new table after the current one?
var myNewTablePosition = myTextFrame.insertionPoints.nextItem(myOldTablePosition);
this is the first insertionPoint after OldTable.
you should also change:
- add a new table using myNewTablePosition;
- calling function selectRows(aTable, startRowIndex, endRowIndex) use currentRowIndex for start... and -1 for endRowIndex.
Thanx for your feedback. It works great...
Hi, I am looking for a similar script for split tables in InDesign CS6.
Can someone share the file ou the entire text for split tables below?
Thanks a lot.
I would love to be able to use the final Table Split script you came up with. If you're still around, can you post it or link to it?