Copy link to clipboard
Copied
Hello friends
As I am new to Indesign Scripting I wanted some help.
In Edit->Spelling->user Dictionary I have added some words
now i need to export them with hyphenation
example:
allgemeinen sholud export as allge~~mein~~~en to a text file
Please friends help me .
Copy link to clipboard
Copied
var addedWords = app.userDictionaries.everyItem().addedWords.join('\n');
destFile = File('~/Desktop/addedWords.txt');
destFile.open('w');
destFile.write(addedWords);
destFile.close();
Copy link to clipboard
Copied
thanks for the reply but i wanted to export the word with hyphenation.
I got the correct answer from peter kharel.