Crash when adding a "checkbox" into a "cell" of a table
When executing the code InDesign crashes.
With my Script I'm looking for certain text in a table, delete it from the cell and then want to add a checkbox instead. So my code is looking something like this:
var found = app.documents.findGrep();
found.parent.contents = "";
var myBox = found.checkBoxes.add();