How to set a colour variable in JS

36 Views Asked by At

I have these lines of code but I am afraid I couldn't define the variable. I tried with label but couldn't find the documentation. Is for tables in Indesign app.

The script does not identify the "Red".

app.documents[0].stories.everyItem().tables.everyItem().cells.everyItem().properties =
app.documents[0].stories.everyItem().tables.everyItem().cells.everyItem().properties =
{
topEdgeStrokeColor : Red,
bottomEdgeStrokeColor : Red,
leftEdgeStrokeColor : Red,
rightEdgeStrokeColor : Red
}

I tried to define the variable for set the colour.

0

There are 0 best solutions below