2 Replies Latest reply on Jul 17, 2017 10:27 PM by VeluVK

    Apply paragraph style to table first column

    VeluVK Level 1



      I have just tried to apply particular paragraph style in table first column only. but its not workout.


      Is any one give solution.


      var myDoc = app.activeDocument;  

      var myTable = myDoc.stories.everyItem().tables.everyItem().getElements();  

      for(t=0; t<myTable.length; t++)  

          var col = myTable[t].columns[0].select();

          var col.appliedParagraphstyles="Tabletext_column1";