This content has been marked as final. Show 3 replies
alignToBaseline = true;
appliedFont = app.fonts.item("Minion Pro");
fontStyle = "Regular";
appliedLanguage = "English: USA";
// ..... more code in the example
It makes next to no sense to change the dictionary preferences by script. What are you really trying to do?
The dictionary preferences allow you to set dictionary options for the various special characters (like smart quotes).
To change the language assigned to text, you need to change the appliedLanguage property of the text, either directly as a local override or (more likely) by changing the property of the paragraph or character styles.
Tanks, for you replay.
You are right, I was not thinking in the right direction.
I have to change the "basic Paragraph style" to my language, so the end user, always get the right spelling and hyphenation.
Again tanks for the reply.