Skip to main content
Participant
April 12, 2013
Question

Hyphenate a word in user dictionary

  • April 12, 2013
  • 1 reply
  • 757 views

Select your word; then select "Edit" -> "Spelling" -> "Dictionary..". The Dictionary dialog pops up with your word; then click the "Hyphenate" button


This topic has been closed for replies.

1 reply

Participant
April 12, 2013

i want do this by scripting.

Please help me tis urgent

Inspiring
April 13, 2013

Hello!

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[17]: »Deutsch: 2006 Rechtschreibreform« in InDesign CS6 (De) (index has changed with versions), 21: English: USA

var _selectedWords = app.selection[0].words.everyItem().contents;

var _userDicDe = app.userDictionaries[17];

_userDicDe.addWord(_selectedWords);

Possibly an first approach ...

Roland

Participant
April 19, 2013

Hello ! drerol64

It was realy very helpful

thank you.