Text Suite
484
Example
This example indents the first paragraph in the active document to the second tab stop.
tab indent paragraph 1 of the active document count 2
This example moves the indent of the first paragraph in the active document back one tab stop.
tab indent paragraph 1 of the active document count -1
Command: text range spelling suggestions
Returns a record that represents the spelling error type and the list of words suggested as spelling
replacements for the first word in the specified range. The spelling error type can be one of the
following type class types: spelling correct, spelling not in dictionary, or spelling capitalization.
Syntax
text range spelling suggestions text range Required. An expression that returns a text range
object.
[custom dictionary dictionary] Optional. Either an expression that returns a dictionary object or
the file name of the custom dictionary.
[ignore uppercase Boolean] Optional. True to ignore words in all uppercase letters. If this
argument is omitted, the current value of the ignore uppercase property is used.
[main dictionary dictionary] Optional. Either an expression that returns a dictionary object or
the file name of the main dictionary. If you dont specify a main dictionary, Word uses the
main dictionary that corresponds to the language formatting of the first word in the text range.
[suggestion mode enumeration] Optional. Specifies the way Word makes spelling suggestions.
Can be one of the following constants. The default value is spelling word type spell word.
Constant
Description
spelling word type
spell word
Word suggests correct spellings for the word or the first word in the
specified range.
spelling word type
wildcard
Word suggests replacements that match the search criteria for a word
that contains the question mark (?) or asterisk (*) wildcard character.
This constant is not supported in the current spell checker.
spelling word type
anagram
Word suggests anagrams for the word. Word doesn't suggest
anagrams from a custom dictionary. This constant is not supported in
the current spell checker.
Note This parameter may be ignored, depending on the dictionary file currently in use.
[custom dictionary2custom dictionary10 dictionary] Optional. Either an expression that
returns a dictionary object or the file name of an additional custom dictionary. You can specify
as many as nine additional dictionaries.