4 Replies Latest reply on May 10, 2018 2:12 AM by frontline design

    script to unmerge specific cells in a table

    frontline design



      I have a Indesign document with 100's of tables. The tables have merged cells that I would like to unmerge.


      The following script works very well but it unmerges all merged cells within the document - I only want to unmerge the 1st cell in the 1st column.

      app.activeDocument.stories.everyItem( ).tables.everyItem( ).cells.everyItem( ).unmerge( );


      My question is:

      is there a way to specify to only unmerge specific cells in a table e.g 1st column, 1st Cell?


      There is no need for the script to manage content like text because the existing text can be deleted.


      thank you in advance for any advice