3 Replies Latest reply on Aug 28, 2011 12:03 PM by Harbs.

    row height at exactly 2mm

    renyboy

      Hi Gurus,

       

      I have a long documents that contains numerous long table and there is a blank row that need to be set at exactly 2mm in height, instead of manually putting its row height at exactl 2mm i want to create a script that will make my selected row to transform at  a row height at exactly 2mm. I try the code under but it doesn't work.

       

      var myDocument = app.documents.item(0);
          var myTable = myDocument.stories.item(0).tables.item(0);
          myTable.rows.item(0).height = 2;

       

      Anyone know whats the correct code.

       

      Thanks in advance.

       

      renyboy