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.
I try the code under but it doesn't work.
How does it fail?
Please describe what happens. "It doesn't work" does not make it easy for us to help you.
What actually happens?
What do you get from this?