These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

working with spellcheck and dictionary in JS

jkintzele
Registered: Dec 6 2007
Posts: 21
Answered

I have set up a basic spell check/commenting script using online examples. I'm getting an enormous number of false positives for technical terms, and have compiled a list of these words in a txt file. I'd like to use JS to either (a) add these words to the user-specific .clam files or (b) create a separate custom dictionary file and force Acrobat to use it alongside the basic dictionary, at least when it is running my spell-check JS. It seems the Acro 7 Pro interface only supports adding a word at a time - I cannot find the way to add whole dictionaries - hence the desire to do this via JS. I have to add these 1500+ words not just on my machine but for some coworkers, so a ones-y approach is OOTQ.
 
Can anyone give me a hand?
 
Thanks,
 
John

My Product Information:
Acrobat Pro 7.0.9, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Take a look at the "Spell" object in Acrobat JavaScript. It has funcitons for creating and using custom dictionaries.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

Bijan
Registered: Apr 25 2008
Posts: 1
I am using Acrobat Professional 8 and I have the same problem and could not understand how to use Spell object in Java. Where should I look for it and does it need Java programming knowledge?

Thanks