How to embed Script into InDesign file?
I have an indesign script that another member graciously put together; however, I am not sure how to utilize it in the InDesign file. Can someone point me to a tutorial or give me some guidance on how I put this script into the InDesign file? Thanks!!
var myDocument = app.activeDocument;
for(var i=myDocument.textFrames.length-1; i>=0; i--){
for(var j=myDocument.textFrames.tables.length-1; j>=0; j--){
for(var k=myDocument.textFrames.tables
myContents = 0;
for(var l=myDocument.textFrames.tables
if (myDocument.textFrames.tables
}
if (myContents == 0) myDocument.textFrames.tables
}
}
}