Set Dictionary
Changes Main Spelling Dictionary and User Spelling dictionary.
Options
-
Spelling Language sets the language to use for the main dictionary.
-
Specify User Dictionary sets a file path for the user dictionary to use. If the path specified is not valid, this script step returns an error. See Creating file paths.
Compatibility
Product | Supported |
FileMaker Pro | Yes |
FileMaker Go | No |
FileMaker WebDirect | No |
FileMaker Server | No |
FileMaker Cloud | No |
FileMaker Data API | No |
Custom Web Publishing | No |
Originated in version
19.6.1
Description
This script step sets the language for the main dictionary and the path for a user dictionary for checking spelling without opening the Select Dictionaries dialog box (Edit menu > Spelling > Select Dictionaries).
Example 1
Changes the main dictionary language to Deutsch (Neue Regeln) and the user dictionary to the MyUserDictionary.upr file in the user's Documents folder.
Set Variable [ $user_dictionary ; Value: "file:" & Get ( DocumentsPath ) & "MyUserDictionary.upr" ]
Set Dictionary [ Spelling Language: Deutsch (Neue Regeln) ; User Dictionary: "$user_dictionary" ]