I have a table with digits. I want to change the percentage of the fill of each cell to this digit.
Example:
Answer
thanx to Jarek:
Lets assume a textFrame with your table is selected;
var
mT = app.selection[0].tables[0],
len = mT.cells.length;
while (len-->0)
mT.cells[len].fillTint = parseInt(mT.cells[len].contents);
Attribution
Source : Link , Question Author : Pylyp , Answer Author : Pylyp