1 Reply Latest reply on Apr 18, 2014 1:07 PM by BEGINNER_X

    Convert table/cell style to text script

    mcsulli

      Hi, hoping someone can help with a script that will convert only some tables in a document to text, using CC.  I have a lot of long documents with nested tables and need to convert just the "outside" table (a single cell).  Some of them have a table/cell style applied, others are manually formatted but will have a consistant border size.

      I have no scripting experience and apologise if this question has been asked and answered before.  I can't seem to find quite what I am looking for.

      Thanks,

      M

        • 1. Re: Convert table/cell style to text script
          BEGINNER_X Level 3

          Hi M,

           

          Welcome to Indesign scripting forum....

           

          Please provide Input and output screenshot that helps your requirement more clearly for us.

           

          May the below code is tips for your requirement:

           

          app.selection[0].convertToText();
          
          //app.activeDocument.stories.everyItem().tables.everyItem().convertToText(); 
          

           

           

          Thanks

          Siraj