dictionary - How to replace a list of words into a word document automatically? -
i have custom dictionary have made in word , 200 words. contain common errors people mistype , didn't exist in original word dictionary.
how replace word in list in document automatically. mean whenever word see wrong word replace 1 existed in list.
i don't want auto correct every single word every time open document.
i used to years ago windows scripting host , ole. today kind of old fashioned bet still works. requires have word installed.
since word remote controllable via com, use every programming language (c++ works natively native nightmare) remote control it. easy traverse thru , replace words. or invoke search , replace function multiple times.
200 words can held in source code.
as "included" feature windows scripting host ok - can choose between jscript , vb. create .js file , default should executed wsh. why don't use macros (essentially same functionality - seen thru word -gui). may use c# or delphi....
Comments
Post a Comment