Copy link to clipboard
Copied
I have a long document and am trying to track down any instances of paragraphs with word spacing that has more than "100% Desired"
Anyone know if this is possible?
Copy link to clipboard
Copied
Hi
Go to "Preferences > Composition" then tick "justification Violations" (or something like that , my INDD isn't in english)
It will highlight from light to darker yellow all justification infractions.
regards
Copy link to clipboard
Copied
Thanks but I am referring to the these settings:
Paragraph panel > Justification > Word Spacing
I would like to find and change these settings throughout my document via the Find/Change function
Copy link to clipboard
Copied
Unless it can be done with GREP (I'm not a GREP expert), the Text tab of Find/Change cannot find stretches of text with a particular Justification setting. If you had applied the Justification setting in a paragraph style, you could replace one paragraph style with another one with different Justification settings.
Copy link to clipboard
Copied
GREP finds characters, not justification settings, so the short answer is these settings are not accessible through Find/Change.
You might be able to access them through scripting.
Copy link to clipboard
Copied
Ah well...
That was way too easy
Unfortunately, I don't think that would be possible through the Find/change panel...
I was thinking about a custom preflight profile, but unfortunately there is no such option, at least in CS6 which is my version. Maybe in the newest ones ?
Copy link to clipboard
Copied
No such change in newer InDesign preflight profiles.
Copy link to clipboard
Copied
Hi,
If you want to find all paras with a "word spacing more than 100% desired" and, e.g. apply them "a word spacing 95% desired", try this:
var myParas = app.activeDocument.stories.everyItem().paragraphs.everyItem().getElements();
var mydesiredWordSpacing_0 = 100;
var mydesiredWordSpacing_1 = 95;
for (p = 0; p < myParas.length; p++)
{
var mydesiredWordSpacing = myParas
.desiredWordSpacing;
if (mydesiredWordSpacing > mydesiredWordSpacing_0) {
mydesiredWordSpacing = mydesiredWordSpacing_1;
myParas
.desiredWordSpacing = mydesiredWordSpacing;
}
}
// ___ (^/) ___
[ To be validated! ]
(^/)