i want do this by scripting.
Please help me tis urgent
Peter Kahrel has shown in his script »hyphenate.jsx« as it could work.
To add words to the dictionary, you can use the following snippet.
e.g. userDictionaries: »Deutsch: 2006 Rechtschreibreform« in InDesign CS6 (De) (index has changed with versions), 21: English: USA
var _selectedWords = app.selection.words.everyItem().contents;
var _userDicDe = app.userDictionaries;
Possibly an first approach ...
Hello ! drerol64
It was realy very helpful