Inspiring
July 14, 2024
Answered
Dictionary Setting for Double and Single Quotes
- July 14, 2024
- 1 reply
- 364 views
Ok,
I found help in another group. Posting here so that it can be useful for others.
var myDoc = app.activeDocument;
const DOUBLE_QUOTES = '“”';
const SINGLE_QUOTES = '‘’';
//Enable Typographer's Quotes
myDoc.textPreferences.typographersQuotes = true;
//Change the Language settings
myDoc.languages.everyItem().doubleQuotes = DOUBLE_QUOTES;
myDoc.languages.everyItem().singleQuotes = SINGLE_QUOTES;Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.