Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

InDesign CS4 Script - Change Tracking/Kerning

Guest
Jan 22, 2010 Jan 22, 2010

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?

TOPICS
Scripting
2.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Engaged , Mar 05, 2010 Mar 05, 2010

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

Translate
Guest
Mar 05, 2010 Mar 05, 2010

Anyone got any ideas on this?


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Mar 05, 2010 Mar 05, 2010

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 05, 2010 Mar 05, 2010
LATEST

Awesome, thanks dude!


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines