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

how to change all text to black

Community Beginner ,
Jan 28, 2025 Jan 28, 2025

Copy link to clipboard

Copied

Hello!
I need to change all text set in non-black colours to 100% black. There are hundreds of pages, but not all text colours have been added to the swatches. Is there a way to do this, either through find-and-change or a script? Please help!

TOPICS
How to , Scripting , Type

Views

110

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

correct answers 1 Correct answer

Community Expert , Jan 28, 2025 Jan 28, 2025

This find change query should work:

Capture d’écran 2025-01-28 à 17.00.27.png

^? means “any character”

 

But don't you use paragraph styles?

Votes

Translate

Translate
Community Expert ,
Jan 28, 2025 Jan 28, 2025

Copy link to clipboard

Copied

This find change query should work:

Capture d’écran 2025-01-28 à 17.00.27.png

^? means “any character”

 

But don't you use paragraph styles?

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 ,
Jan 28, 2025 Jan 28, 2025

Copy link to clipboard

Copied

I could just test and see, but this approach leaves me with the feeling it might simply "paint over" other document flaws. It really may be this simple, but having colors in a doc with no corresponding swatches feels like a red flag for other structural problems.


┋┊ InDesign to Kindle (& EPUB): A Professional Guide, v3.1 ┊ (Amazon) ┊┋

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 ,
Jan 28, 2025 Jan 28, 2025

Copy link to clipboard

Copied

but this approach leaves me with the feeling it might simply "paint over" other document flaws.

[…] but having colors in a doc with no corresponding swatches feels like a red flag for other structural problems.

I totally agree, but it answers to the OP question. And that's why I asked @Elizabeth285754906b5l if she used paragraph styles.

 

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 ,
Jan 28, 2025 Jan 28, 2025

Copy link to clipboard

Copied

Can we assume that the colors are spot formatting, not Character Styles? (If the lattter, simply delete or change the relevant styles!)

 

It would be fairly simple to reset all Paragraph Styles to their defined state, and assuming their defined color is Black that would remove both spot and Character Style colors. It would also remove any other spot formatting (and Character Styles for italics, bold, etc. if applied).

 

A more effective step might be to back up to the source document — I am assuming something like Word — and fix the problem there, where it might be more "accessible" through color swatches you can delete, or in the import process.

 

A few more details about the colors, where they came from, whether their swatches can be preserved on a re-import, etc. would help if the above doesn't point you in a useful direction.

 

 

 


┋┊ InDesign to Kindle (& EPUB): A Professional Guide, v3.1 ┊ (Amazon) ┊┋

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 ,
Jan 28, 2025 Jan 28, 2025

Copy link to clipboard

Copied

Easier method:

On the Swatches panel menu, select Add Unnamed Colors.

Then select them all (click on the top added swatch and shift-click on the bottom added swatch).

Delete the swatches.

Replace with Black.

David Creamer: Community Expert (ACI and ACE 1995-2023)

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 ,
Jan 28, 2025 Jan 28, 2025

Copy link to clipboard

Copied

Um, yeah, that might just work. 🙂

 

How do unnamed/unswatched colors get into an ID document, anyway? A bad import seems to be the only path.


┋┊ InDesign to Kindle (& EPUB): A Professional Guide, v3.1 ┊ (Amazon) ┊┋

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 ,
Jan 28, 2025 Jan 28, 2025

Copy link to clipboard

Copied

LATEST

Color panel can add unnamed colors. One reason why I never use it.

 

David Creamer: Community Expert (ACI and ACE 1995-2023)

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