2

Ive added text boxes to each page of an indesign document. The text content is all correct, but now i want to bulk change the weight of the font and the colour of the text.

Can this be done or would i need to go to each page highlight the text box and change each one manually ?

All the text boxes will be changes to the same font weight and colour, there are none that i want to keep in another style / colour.

  • 4
    Did you not use any character or paragraph styles? – AndrewH Aug 10 '16 at 16:17
  • Please read my updated answer – Moataz Zaitoun Aug 11 '16 at 1:44
3

That can be done fairly easily using Find/Change. Adobe built in some little known, but VERY powerful features.

There's this tutorial from adobe, but it's a bit wordy: https://helpx.adobe.com/indesign/using/find-change.html But it explains all the different features available in find/change.

This one is a bit more of a "quick read" without as much detail and relating to color instead of font, but it gives you the idea of what you can do. https://designerhelp.wordpress.com/tag/indesign-change-color/

Let me know if you need a more step-by-step for specifically what you want to do.

2

This sounds like you did not set up any paragraph styles, which would mean every text in your document has the default paragraph style "[Basic Paragraph]". To change the typeface of all texts in this document you only need to change the font of this [Basic Paragraph] style.

Open the Paragraph Style panel, double click [Basic Paragraph], go to the section "Basic Character Formats", set your desired font, change its color, then click OK. Done.

0

To answer you question I had to break the answer to 3 Parts:

Part #1: How to bulk change Font / Font Weight:

  1. Open Menu Type > Find Font >

![enter image description here

This will open a dialogue box with all your used fonts listed.

  1. Then you can change all your fonts Or font weights assuming you're using multiple fonts and you want them all changed By Clicking on each font then choose your final font from Replace With: Panel.

enter image description here

This Dialogue Box also gives you control on missing fonts in any document in case you have any. But unfortunately this dialogue cannot control text color.

Part #2: How to bulk change text color?

I Couldn't think of any tool I can use other than using scripting.

  1. Open Menu Window > Utilities > Scripts Or Press Ctrl+Alt+F11 to open the scripts panel menu.

  2. Right Click on "User" > Reveal in explorer.

  3. In the opened location Create new JavaScript document and name it as you want, then Save it.

  4. Paste the following script to the newly created JaveScript document...

    main();
    function main(){
        var myDocument = app.documents.item(0);
        var myTextFrames = myDocument.textFrames;
        //Create a color.
        try{
            myColorA = myDocument.colors.item("Yellow"); #Change the name of the color as you want
            //If the color does not exist, trying to get its name will generate an error.
            myName = myColorA.name;
        }
        catch (myError){
            //The color style did not exist, so create it.
            myColorA = myDocument.colors.add({name:"Yellow", model:ColorModel.process, colorValue:[0, 0, 100, 0]}); #Change the name of the color as you want and change the combination
        }
        //The following for loop will fail to format all of the paragraphs.
        for(var i = 0; i < myTextFrames.length; i++){
    
            var myText = myTextFrames.item(i);
            var myTextInside = myText.parentStory.paragraphs;
            for(var j = 0; j < myTextInside.length; j++){
                myTextInside.item(j).fillColor = myColorA;
            }
        }
    }
    
  5. Change the name of the color as you want and change the combination, Then Save it

I've indicated the places you should change in the code by "#" mark.

  1. Return to inDesign, You should see the newly created script name in the menu.

  2. Right Click on the Script > Run script

the script should run and change color of all of your text in the document your selected color.

Part #3: How to bulk change font size?

You didn't mention it, But I assumed that you may want to do it also, Who knows?

  1. Add the following line to the previous code

    myTextInside.item(j).pointSize = 9; #choose you selected font size
    

Right after myTextInside.item(j).fillColor = myColorA;. And inside the closing curly bracket }.

  1. Save the script.
  2. Right click on the script name > Run script and the script will change all text to selected font size.

Actually this script can be modified for further customization. Scripting for inDesign or any Adobe software is incredibly powerful and can make almost every thing automatically. You may refer to this link for more Adobe inDesign Scripting official documentation.

Next time try using Paragraph and Character Styles it's very powerful feature and gives you a lot of controls for text and fonts.

  • It would be much simpler to just change the basic paragraph style in this case. See my answer. No scripting needed. – mdomino Aug 11 '16 at 6:55
  • @mdomino Your solution would only work if you didn't change the basic character style format, If you add any modification to any of the text boxes like if you changed font or font weight a small "+" sign will appear beside "Basic character style" and any modification to this style will not be applied to any modified text box. try it. – Moataz Zaitoun Aug 11 '16 at 14:56
  • Nice script. But why would you go through all that, when the feature is already built into Indesign? – Alith7 Aug 11 '16 at 14:59
  • @Alith7 what feature? please explain. – Moataz Zaitoun Aug 11 '16 at 15:01
  • 2
    @MoatazZaitoun don't feel embarrassed! Adobe didn't do a good job of getting the eword out for what Find/Change can do. Very few people know about it, and how powerful it is. For such a "simple" tool, it is probably one of the best features I've seen Adobe add to a program in a very long time. I will take a look and write a step by step later today to update my answer. I'm still learning how to post on here, and until yesterday, wasn't sure to add images. – Alith7 Aug 11 '16 at 15:14
0

Make a GREP search to change all the document characters

enter image description here

  • Open the Find/Change panel, Cmd + F Mac or Ctrl + F Win
  • Click the GREP tab
  • Type . at the Find What field, the dot means all the characters
  • Choose Document at the Search dropdown menu
  • Click the Change Format Icon enter image description here and choose the new character settings
  • Click the Change All button

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.