TS-Logo-Banner

Telescript International
258 Oak Tree Road - Tappan NY 10983
office (201) 767-6733
info@telescript.com

Spell Check is not working

The Issue

As Microsoft Windows has been changed through version and updates, it has become more difficult for install programs to establish folder locations for required files - in this case, the lexicon files used in spell check. In addition, versions of Windows after Vista are set to prevent write access to files stored in "Program Files", and the registry hive, HKLM (Local Machine).

The Ultimate Remedy

Code was added in TeleScript Pro 6.1.2.120 and TeleScript AV 7.2.1.111 to properly associate dictionary file paths. Also, a menu link was provided to the spell check path editing dialog box. In the most recent versions of the TeleScript Software installers, the lexicon path has been moved to the TeleScript(Pro/AV/Tech)Data folders in "My Documents", where reading and writing permission is guaranteed.

The Fix for Legacy Installations

If Spell Check in your TeleScript Software is behaving erratically -- not finding errors, not storing user modifications, highlighting every word, etc. -- here's how you can fix your current installation.

1. Move all Lexicon Files to a New Location

  • a. Create a folder for your Lexicon files. Recent versions of TeleScript Software create data folders for scripts, logfiles, etc. This folder is located in the Documents library and is named, depending upon the TeleScript Software installed, TeleScript(AV/PRO/TECH)Data. Using Windows Explorer, find this folder and create a sub-folder called "Lexicons".
  • b. Go to the folder were TeleScript Software is installed -- this is usually "C:\Program Files\TeleScript", with a subfolder named for the TeleScript Software title. In 64 bit systems, the parent folder is "C:\Program Files (x86)\TeleScript".
  • c. Copy all lexicon files, those with the extension ".tlx" or ".clx", to the new "Lexicons" folder created in the previous step.
  •  

2. Set the Registry to find these lexicon files

  • a. Download the attached file, SSCE-HKCU.ZIP and unzip to a convenient location on your computer.
  • b. Find SSCE-HKCU.REG. Do not double click on this file until instructed (after editing).
  • c. Use Windows Notepad to edit SSCE-HKCU.REG. To do this, open NOTEPAD (see instructions at THIS LINK).
  • d. Make the changes detailed in the next section -- the specific edit depends upon your computer's folders.
  • e. Save the edited SSCE-HKCU.REG.
  • f. Double click the edited SSCE-HKCU.REG -- this will install the edited registry values.
  • g. Optional: Verify that the changes have been recorded in the registry:
         Open regedit.exe from the Windows Search Box
         Go to HKEY_CURRENT_USER/Software/Wintertree/SSCE
         Verify the changes

Editing SSCE-HKCU.REG

Here's the contents of the file before editing:

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Wintertree\SSCE]
"MainLexPath"="C:\Users\%username%\Documents\TeleScript(Pro|AV|Tech)Data\Lexicons"
"MainLexFiles"="accent.tlx,correct.tlx,ssceam.tlx,ssceam2.clx,sscebr.tlx,sscebr2.clx"
"UserLexPath"="C:\Users\%username%\Documents\TeleScript(Pro|AV|Tech)Data\Lexicons"
"UserLexFiles"="userdic.tlx"

Make these changes

  1. In "MainLexPath", substitute your username for %username%. If you're not sure of your username, then go to Control Panel/User Accounts and Family Safety/User Accounts.
  2. In "MainLexPath", edit TeleScript data path to reflect the version of TeleScript Software that you're using. For example, for TeleScript AV, edit "TeleScript(Pro|AV|Tech)Data" to read "TeleScriptAVData".
  3. In "UserLexPath", substitute your username for %username%. If you're not sure of your username, then go to Control Panel/User Accounts and Family Safety/User Accounts.
  4. In "MainLexPath", edit TeleScript data path to reflect the version of TeleScript Software that you're using. For example, for TeleScript AV, edit "TeleScript(Pro|AV|Tech)Data" to read "TeleScriptAVData".