4 Replies Latest reply on Dec 30, 2014 4:24 AM by pixxxel schubser

    about table column with

    hamdifem

      I chose a table cell the column width

      regular increase a command can be written

      I tried to do, but did not

       

      var myStep = 1;  
      var myTables = app.selection[0].stories[0].tables[0].everyItem().getElements();  
      for(var n=0;n<myTables.length;n++){  
       for (i=0; i<myTable.columns.length; i++) 
          if(myTables [n].columns[i].width + myStep<0){myTables [n].columns[i].width= 0; continue};  
          myTables [n].columns[i].width = myTables [n].columns[i].width + myStep;