Copy link to clipboard
Copied
Trying to set the Edit > Preferences > Units & Increments > Kerning /Tracking value with a script.
Is that not part of the object model?
Thanks,
Ken
Hi @KenWK , They are set in the textPreferences object. For the application it would be
app.textPreferences.kerningKeyIncrement = n
and for the doc it would be
app.activeDocument.textPreferences.kerningKeyIncrement = n;
https://www.indesignjs.de/extendscriptAPI/indesign-latest/#TextPreference.html
Copy link to clipboard
Copied
Hi @KenWK , They are set in the textPreferences object. For the application it would be
app.textPreferences.kerningKeyIncrement = n
and for the doc it would be
app.activeDocument.textPreferences.kerningKeyIncrement = n;
https://www.indesignjs.de/extendscriptAPI/indesign-latest/#TextPreference.html
Copy link to clipboard
Copied
Oy-vey. Thanks Rob. No bleeping idea how I missed that in the VBA object model.
Thanks too for the great we page.
Best ,
Ken
Copy link to clipboard
Copied
What about setting your tracking within your Paragraph Styles?
Copy link to clipboard
Copied
Thanks for responding Derek. We're working with 1,500 or so files created by someone else and will likely need to kern some things to fit as they did before and anything I can set with a script will be helpful.
Best,
Ken