Microsoft Word Suite
114
style
Returns or sets the style for the specified object. To set this property, specify either the local
name of the style, an integer, a built-in Word style, or an object that represents the style.
Read/write.
supplemental language id
Returns or sets the language for the specified object. Can be any of the language id constants
listed above. Read/write.
Note This is the recommended way to determine the language of a document created in an
East Asian version of Word.
wrap
Returns or sets what happens if the search begins at a point other than the beginning of the
document and the end of the document is reached (or vice versa if forward is set to false) or if
the search text isn't found in the specified selection or range. Read/write.
Can be one of the following:
Constant
Description
find ask
After searching the selection or range, Word displays a message asking
whether to search the remainder of the document.
find continue The find operation continues when the beginning or end of the search
range is reached.
find stop
The find operation ends when the beginning or end of the search range is
reached.
Class: font
Plural
fonts
Contains font attributes (font name, font size, color, and so on) for an object.
Use the font object property to return the font object. The following instruction applies bold
formatting to the selection.
set bold of font object of selection to true
The following example formats the first paragraph in the active document as 24 point Arial and
italic.
set myRange to text object of paragraph 1 of active document
set bold of font object of myRange to true
set name of font object of myRange to "Arial"
set size of font object of myRange to 24