• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
10

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

Engaged ,
Feb 09, 2024 Feb 09, 2024

Copy link to clipboard

Copied

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

TOPICS
How to , Scripting

Views

385

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 10, 2024 Feb 10, 2024

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Feb 10, 2024 Feb 10, 2024

Copy link to clipboard

Copied

Steve,

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

Screenshot 2024-02-10 at 11.14.11 AM.png



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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Feb 13, 2024 Feb 13, 2024

Copy link to clipboard

Copied

Mr Werner,

Screenshot 2024-02-13 at 9.48.30 AM.png

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Feb 14, 2024 Feb 14, 2024

Copy link to clipboard

Copied

...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Feb 17, 2024 Feb 17, 2024

Copy link to clipboard

Copied

In this forum there was never a question left unanswered in the old days.

In order not to forget the meaning of a forum I post a solution.


https://tech4pub.com/2020/11/14/indesign-tip-find-and-change-colors/#:~:text=As%20with%20with%20any%...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Feb 18, 2024 Feb 18, 2024

Copy link to clipboard

Copied

Some lines of scripting like these may help to resolve this post.:

var doc = app.activeDocument;
doc.colors.item("Colour1").remove("Colour2");
doc.colors.item(""Colour2").remove("Colour3");



The thread is
https://community.adobe.com/t5/indesign-discussions/need-help-creating-an-indesign-javascript-to-fin...



Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 18, 2024 Feb 18, 2024

Copy link to clipboard

Copied

@palala fog 

 

Maybe you have local overrides in your tables? 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Feb 20, 2024 Feb 20, 2024

Copy link to clipboard

Copied

LATEST

Surely and mixed cell styles. Thanks.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines