Microsoft Word Suite
300
Example
This example sets the hyphenation zone in the active document to 8.8 millimeters.
set hyphenation zone of active document to millimeters to points ¬
millimeters
8.8
This example expands the spacing of the selected characters to 2.8 points.
set spacing of font object of selection to millimeters to points millimeters 1
Command: modified
Returns true if the specified list template is not the built-in list template for that position in the list
gallery.
Syntax
modified list gallery Required. An expression that returns a list gallery object.
index Required Long. A number from 1 to 7 that corresponds to the position of the template in
the Bullets and Numbering dialog box. Skipping the None option, the templates are
numbered from left to right, starting with the top row.
Remarks
To set a list template in a list gallery back to the built-in list template, use the
reset list gallery
command.
Example
This example checks to see whether the first template on the Bulleted tab in the Bullets and
Numbering dialog box has been changed. If it has, the list template is reset.
set temp to modified (get list gallery bullet gallery) index 1
if temp is true then
reset list gallery (get list gallery bullet gallery) index 1
else
display dialog "This is the built-in list template"
end if
Command: next for browser
Moves the selection to the next item indicated by the browser target. Use the browser target property
to change the browser target.
Syntax
next for browser browser Required. An expression that returns a browser object.
Example
This example moves the insertion point just before the next comment reference marker in the active
document.
set browser target of browser object to browse comment
next for browser browser object