Set Spelling Ignore List (step reference)

Troi Text Plug-in > Script steps reference > Set Spelling Ignore List
Troi Text Plug-in for FileMaker Pro

Set Spelling Ignore List

Sets the list of words that should be ignored when checking spelling.

SyntaxScript step badge

Set Spelling Ignore List [ Select ; Result (error) ; Ignore Word List ]

Options

Select entire contentsreplaces the entire contents of a field with the result. If not checked the result replaces the currently selected portion of the field
Result (error)an error code
Ignore Word Listthe list of words to be ignored. Each word separated by a return

Returned Result

Data type returned

Error code

Result

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:

0No errorThe ignore list was set.
$$-4221InvalidOSVersionThe spelling functions are not available on this platform.

Other errors may be returned.

Originated in

Troi Text Plug-in 4.5

Compatibility

FileMaker Pro 16

Considerations

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

Example

Set Spelling Ignore List [ $ErrorCode ; "WeCorp¶Dryheat¶Goupil" ] 

This will set the list of words to ignore (for the moment) to : “WeCorp”, “DryHeat” and “Goupil”.

You can update this by setting a different list.
You can reset this list by setting an empty Ignore Word List.

Related script stepsScript step badge

Learn Spelling
Unlearn Spelling

Related functionsFunction badge

TrText_CheckSpelling
TrText_SetSpellingIgnoreList

Related topics

Troi Text Plug-in online help (overview)


Online Help Page for Troi Text Plug-in for 12 to 16 –> Set Spelling Ignore List (textp7265) 2017-1113 11:34:20