[JS IDCS5] Running through all tables and place textFrame
I wan't to place textFrames below all the tables within a document.
#target indesign;
var myDocument = app.activeDocument;
var myTables = myDocument.stories.everyItem().tables;for(var i=myTables.length-1; i>=0; i--){
// var myFrame = myTables.insertionPoints[0].textFrames.add();
// the above line does not work......
}
How do I get the insertionPoints of the tables, so textFrames can be added at that point?
Regards, Sjoerd