Skip to main content
Inspiring
February 10, 2024
Question

Need a help: How to set specific edge colour for some lines in a group of tables?

  • February 10, 2024
  • 1 reply
  • 756 views

I have many tables where some strokes keep appearing in black instead of the required new colour.

Cell styles (or myself) do not work well.

The alternating rows menu seems to show some inconsistencies.

Thanks

This topic has been closed for replies.

1 reply

Steve Werner
Community Expert
Community Expert
February 10, 2024

In order to get some help, you should provide screen capture, and more information about what you're trying to accomplish in the tables in terms of appearance.

 

It always helps also to provide information about your system: Please tell us what operating system (exactly) you're running. Please tell us (exactly) what InDesign version you're using.

Inspiring
February 10, 2024

Steve,

This is the situation where black strokes should be gray.
Tables have not peripheral border,



I tried this script but couln't check exactly the line of code in the documentation:


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
}

Thanks,

Ps. Ventura 13.8.

Inspiring
February 13, 2024

Mr Werner,

Attached is the ID version you asked.
Let me know if anything additional would be helpful in moving forward,
Thanks.