Skip to main content

TrText_LearnSpelling (function reference)

By November 1, 2017November 13th, 2017Online Help, Troi Text Plug-in
Troi Text Plug-in > Functions reference > TrText_LearnSpelling
Troi Text Plug-in for FileMaker Pro


Adds a word to the spell checker dictionary.

SyntaxFunction badge

TrText_LearnSpelling ( switches ; wordToLearn )


switches not used, reserved for future use. Leave blank or put "-Unused"
wordToLearn the word to be learned

Returned Result

Data type returned

Error code


If successful the plug-in returns 0.

If unsuccessful it returns an error code starting with $$ and the error code. Returned error codes can be:

0 No error The word was learned.
$$-4221 InvalidOSVersion The spelling functions are not available on this platform.

Other errors may be returned.

Originated in

Troi Text Plug-in 4.0


FileMaker Pro 12 to 16


Note that the spelling functions are available for Windows 8 and later (and all Mac OS versions).


TrText_LearnSpelling ( "-Unused" ; "apekool" )

This will add the word “apekool” to the dictionary of the Operating System.

Related functionsFunction badge


Related script stepScript step badge

Learn Spelling

Related topics

Troi Text Plug-in online help (overview)

Online Help Page for Troi Text Plug-in for 12 to 16 –> TrText_LearnSpelling (textp4266) 2017-1113 11:23:53