Command: indent first line char width
Indents the first line of one or more paragraphs by a specified number of characters.
indent first line char width paragraph\paragraph format Required. An expression that returns a
paragraph or paragraph format object.
count integer Required. The number of characters by which the first line of each specified
paragraph is to be indented.
This example indents the first line of the first paragraph in the active document by 10 characters.
indent first line char width paragraph 1 of active document count 10
Command: is equivalent
True if the text range to which this command is applied is equal to the range specified by the text
range argument. This command compares the starting and ending character positions, as well as the
story type. If all three of these items are the same for both objects, the objects are equal.
is equivalent text range Required. An expression that returns a text range object.
text range text range Required. The text range object thats compared with the expression.
This example compares the selection with the second paragraph in the active document. If the
selection isn't equal to the second paragraph, the second paragraph is selected.
if (is equivalent text object of selection text range text object of ¬
paragraph 2 of active document) is false then
select text object of paragraph 2 of active document
This example compares
to determine whether they're equal. If the two ranges
are equal, the content of
set range1 to word 1 of selection
set range2 to word 3 of active document
if (is equivalent range1 text range range2) is true then