Microsoft Word Suite
342
Remarks
If down and up are both specified, the window is scrolled by the difference of the arguments. For
example, if down is 3 and up is 6, the window is scrolled up three lines. Similarly, if to left and to
right are both specified, the window is scrolled by the difference of the arguments.
Any of these arguments can be a negative number. If no arguments are specified, the window is
scrolled down by one line.
Example
This example scrolls the active window down one line.
small scroll active window down 1
This example splits the active window and then scrolls up and over to the left.
set split window of active window to true
small scroll active window up 5 to left 5
Command: speak text
Uses Apple's Text- to- Speech engine to speak aloud the selection.
Syntax
speak text selection object Required. An expression that returns a selection object.
Example
This example selects all of the text in the document and reads it aloud.
select text object of active document
speak text selection
Command: split subdocument
Divides an existing subdocument into two subdocuments at the same level in master document
view or outline view. The division is at the beginning of the specified range. If the active document
isn't in either master document or outline view, or if the range isn't at the beginning of a paragraph
in a subdocument, an error occurs.
Syntax
split subdocument subdocument Required. An expression that returns a subdocument object.
text range text range Required text range object. The range that, when the subdocument is split,
becomes a separate subdocument.
Example
This example splits the selection from an existing subdocument into a separate subdocument.
split subdocument subdocument 1 of text object of selection ¬
text range text object of selection