Reference > Script steps reference > Spelling script steps > Correct Word
 
Correct Word
Purpose 
Opens the Spelling dialog box so the user can correct a word FileMaker Pro has identified as misspelled.
See also 
Format 
Correct Word
Options 
None.
Compatibility 
 
Where the script step runs 
Supported 
FileMaker Pro 
Yes 
FileMaker Server 
No 
FileMaker Go 
No 
Custom Web Publishing 
No 
FileMaker WebDirect 
No 
Runtime solution 
Yes 
Originated in 
FileMaker Pro 6.0 or earlier
Description 
This script step is the same as choosing Edit menu > Spelling > Correct Word.
Use this script step to open the Spelling dialog box for users if you have restricted their access to FileMaker Pro menus.
Notes 
Check spelling as you type must be selected (File menu > File Options > Spelling tab.)
This script step can only correct a word after FileMaker Pro identifies it as being misspelled.
Example 1 
Displays a custom dialog box that asks if the user wants to open the Spelling dialog box.
Show Custom Dialog ["Open the Spelling dialog box to correct spelling?"]
If [Get ( LastMessageChoice ) = 1]
Correct Word
End If
Related topics 
Script steps reference (alphabetical list)
Script steps reference (category list)