Script | Selection on merged row makes indesign crash
Hi everyone,
I'm facing a new problem with a script I was working on, it is supposed to read every cells I selected and let me apply a cell and paragraph style. It works fine unless my first selection is a merge row and the second one a row without any merge.
so selecting this two rows with this code makes indesign crash (see: rows.png):
try {
var mySelection = app.selection[0];
alert(app.selection[0].contents)
} catch (e) {
alert("error\n" + e.number + ": " + e.message)
}
Thanks for your help,
Nicolas
here's an example of my selection that crashes (error.png)
-
Uwe Laubender commented
Hi developers,
also see the related thread at the InDesign forum for more details:Script | Selection on merged row makes indesign crash
Nicolas__H, Sep 21, 2020
https://community.adobe.com/t5/indesign/script-selection-on-merged-row-makes-indesign-crash/td-p/11449424Regards,
Uwe Laubender
( ACP )