Copy link to clipboard
Copied
Hi Chaps,
Does anyone know of a JS Script to change the Tracking (0) and Kerning (Optical) of Paragraph Styles and the document as a whole in InDesign CS4?
Here below code change tracking and kerning in your paragraph styles.
var myDoc = app.activeDocument;
myStyles=myDoc.paragraphStyles;
for (oneStyle=1;oneStyle<myStyles.length;oneStyle++)
{
myStyles[oneStyle].tracking=0;
myStyles[oneStyle].kerningMethod="Optical";
}
Shonky
Copy link to clipboard
Copied
Anyone got any ideas on this?
Copy link to clipboard
Copied
Here below code change tracking and kerning in your paragraph styles.
var myDoc = app.activeDocument;
myStyles=myDoc.paragraphStyles;
for (oneStyle=1;oneStyle<myStyles.length;oneStyle++)
{
myStyles[oneStyle].tracking=0;
myStyles[oneStyle].kerningMethod="Optical";
}
Shonky
Copy link to clipboard
Copied
Awesome, thanks dude!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now