Copy link to clipboard
Copied
The original script doesn't seem to work anymore?
function dupeTopRow(t){
var newRow = t.rows.add(LocationOptions.BEFORE, t.rows[0]);
var newCell = newRow.cells
var lr = t.rows[1].cells
for (var i = 0; i < newCell.length; i++){
newCell[i].properties = lr[i].properties;
};
}
Copy link to clipboard
Copied
I don’t see a convertToRowType() method in the API
Copy link to clipboard
Copied
Here, m1b updated on 8/26, and I had no idea.
Good thing you asked—I just checked the old posts.
Unbelievable, he updated. m1b is truly amazing.
https://community.adobe.com/t5/indesign-discussions/extendscript-how-to-convert-selected-table-rows-...
Copy link to clipboard
Copied
Edit 2025-07-19: added check for undefined cells in getRows function.
This version seems to have a lot of errors.
I don't know what version mine is, but it's actually correct.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now