Mobile app version of vmapp.org
Login or Join
Kaufman565

: Bulk reformat font weight and colour in indesign 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

@Kaufman565

Posted in: #AdobeIndesign

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.

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Kaufman565

3 Comments

Sorted by latest first Latest Oldest Best

 

@Rivera951

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

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


Open Menu Type > Find Font >




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


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.




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.


Open Menu Window > Utilities > Scripts Or Press Ctrl+Alt+F11 to open the scripts panel menu.
Right Click on "User" > Reveal in explorer.
In the opened location Create new JavaScript document and name it as you want, then Save it.
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;
}
}
}

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.



Return to inDesign, You should see the newly created script name in the menu.
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?


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 }.


Save the script.
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.

10% popularity Vote Up Vote Down


 

@Yeniel278

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.

10% popularity Vote Up Vote Down


 

@Hamaas979

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: 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. 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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme