Microsoft Word Suite
251
Command: execute dialog
Applies the current settings of a Word dialog box.
Syntax
execute dialog dialog Required. An expression that returns a dialog object.
Example
The following example executes the current settings on the Line and Page Breaks tab in the
Paragraph dialog box.
set myDialog to get dialog dialog format paragraph
set default dialog tab of myDialog to dialog format paragraph tab text flow
execute dialog myDialog
Command: execute find
Runs the specified find operation. Returns true if the find operation is successful.
Syntax
execute find find Required. An expression that returns a find object.
[find text Unicode text] Optional. The text to be searched for. Use an empty string () to search
for formatting only. You can search for special characters by specifying appropriate character
codes. For example, ^p corresponds to a paragraph mark and ^t corresponds to a tab
character.
If match wildcards is true, you can specify wildcard characters and other advanced search
criteria. For example, *(ing) finds any word that ends in ing.
To search for a symbol character, type a caret (^), a zero (0), and then the character code for the
symbol.
[match case Boolean] Optional. True to specify that the find text be case sensitive. Corresponds
to the Match case check box in the Find and Replace dialog box (Edit menu).
[match whole word Boolean] Optional. True to have the find operation locate only entire
words, not text thats part of a larger word. Corresponds to the Find whole words only check
box in the Find and Replace dialog box.
[match wildcards Boolean] Optional. True to have the find text be a special search operator.
Corresponds to the Use wildcards check box in the Find and Replace dialog box.
[match sounds like Boolean] Optional. True to have the find operation locate words that sound
similar to the find text argument. Corresponds to the Sounds like check box in the Find and
Replace dialog box.
[match all word forms Boolean] Optional. True to have the find operation locate all forms of the
find text argument (for example, sit locates sitting and sat). Corresponds to the Find all
word forms check box in the Find and Replace dialog box.