Globally remove selected style overrides
- Details
- Written by robinfredericf
- Category: JS inDesign
-
Also available:
- Hits: 14446
You have an InDesign document with text formatted using styles, but some parts of the text show various attribute overrides or local formatting, highlighted by the plus sign (+) displayed next to the style name. Most overrides are deliberate and must be preserved, but we want to selectively suppress some of them, for example all occurrences of the “underlined ”local formatting overriding a given style sheet in the whole document. Of course it is possible to do a fastidious “Find-replace” based on attributes with repetitive use of the “Clear Overrides” command. But the Ukrainian designer Wadym Martynowski told me about a technique he developed:
Stroke alignment change (w/o shrinking/fattening)
- Details
- Written by robinfredericf
- Category: JS inDesign
-
Also available:
- Hits: 4114
This InDesign script enables to switch between the three available stroke alignments, while preserving the whole visible dimensions (including stroke) of a frame.
Invert characters horizontal/vertical scale
- Details
- Written by robinfredericf
- Category: JS Illustrator
-
Also available:
- Hits: 6063
You may have ever noticed, when opening in Illustrator a PDF file generated for example from InDesign, that some characters affected by an horizontal scale in the indd source file become affected by an inverse vertical scale and a different point size (that phenomenon seems to occur only in the case of characters manually condensed using an horizontal scale below 100%, and not in the case of manually extended characters). For example, some text with size 20pt and a 80% horizontal scale ends up with a size of 16pt with a 125% vertical scale, with a visually identical result. In the case of a 90% horizontal scale the inverse result is a 111.1111111111111…% vertical scale, rather inconvenient rational number.
Copy-paste baseline
- Details
- Written by robinfredericf
- Category: JS inDesign
-
Also available:
- Hits: 5389
You have to edit a letterhead with a 2-lined address as footer. The updated address is longer and will take 3 lines, but the last (third) line of the new address must be at the same level as the last (second) line from the former address. In that case of course the address should already be in a text frame with bottom-aligned text (Text Frame Options > Vertical Justification > Align > Bottom) but the apprentice who took care of the previous edition had kept the default alignment set to "Top".
You may add manually a guide at the level of the last line, set the alignment to "Bottom" and bring up the frame to align approximately the last line to its former position, before editing the address, or you can use this script that enables to "copy-paste" the baseline (the vertical coordinate) of a selected text: