Microsoft Word Suite
341
Command: shrink font
Decreases the font size to the next available size. If the selection or range contains more than one
font size, each size is decreased to the next available setting.
Syntax
shrink font font Required. An expression that returns a font object.
Example
This example reduces the font size of the selected text by one size.
if selection type of selection is selection normal then
shrink font font object of selection
else
"You need to select some text."
end if
Command: shrink selection
Shrinks the selection to the next smaller unit of text. The progression is as follows: entire document,
section, paragraph, sentence, word, insertion point.
Syntax
shrink selection selection object Required. An expression that returns a selection object.
Example
This example shrinks the current selection by the next smaller unit.
shrink selection selection
Command: small scroll
Scrolls a window or pane by the specified number of lines. This command is equivalent to clicking
the scroll arrows on the horizontal and vertical scroll bars.
Syntax
small scroll window/pane Required. An expression that returns a pane or window object.
[down integer] Optional. The number of lines to scroll the window down. A line corresponds
to the distance scrolled by clicking the down scroll arrow on the vertical scroll bar once.
[up integer] Optional. The number of lines to scroll the window up. A line corresponds to the
distance scrolled by clicking the up scroll arrow on the vertical scroll bar once.
[to right integer] Optional. The number of lines to scroll the window to the right. A line
corresponds to the distance scrolled by clicking the right scroll arrow on the horizontal scroll
bar once.
[to left integer] Optional. The number of lines to scroll the window to the left. A line
corresponds to the distance scrolled by clicking the left scroll arrow on the horizontal scroll bar
once.