Unlearn Spelling (step reference)

Troi Text Plug-in for FileMaker Pro

Unlearn Spelling

Forget this word in the spell checker dictionary.

SyntaxScript step badge

Unlearn Spelling [ Select ; Result (error) ; Words To Forget ]

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
Words To Forgetthe word(s) to be forgotten

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 word was unlearned
$$-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).
You can unlearn multiple words by specifying a list of return-delimited values.

Example

 Unlearn Spelling  [ $ErrorCode ; "apekool" ]

This will remove the word “apekool” from the dictionary of the Operating System.

Example 2

Unlearn Spelling[ $ErrorCode ; "selfie¶photobomb" ]

This will remove the words “selfie” and “photobomb from the dictionary of the Operating System.

Related script stepsScript step badge

Learn Spelling
Set Spelling Ignore List

Related functionsFunction badge

TrText_CheckSpelling
TrText_UnlearnSpelling

Related topics

Troi Text Plug-in online help (overview)


Online Help Page for Troi Text Plug-in for 12 to 16 –> Unlearn Spelling (textp7267) 2017-1113 11:36:09