Microsoft Word Suite
Reloads a cached document by resolving the hyperlink to the document and downloading it.
Note This command reloads the document asynchronously; that is, statements following the
reload command in your procedure may execute before the document is actually reloaded. Because
of this, you may get unexpected results from using this command in your scripts.
reload document Required. An expression that returns a document object.
This example opens and reloads the hyperlink to the address "main" on a local intranet.
follow hyperlink active document address "http://main"
reload active document
Command: remove numbers
Removes numbers or bullets from the specified document, Word list, or list format object.
remove numbers document/list format/Word list Required. An expression that returns a
document, Word list, or list format object.
[number type enumeration] Optional. The type of number to be removed. Can be one of the
following: number paragraph, number listnum, or number all numbers. The default value is
number all numbers.
When this command is applied to a Word list object, it removes numbers only from paragraphs in
the specified list, skipping over any interleaved numbers from other lists. If this command is
applied to the list format object for a range of text, all numbers from all lists in the range are
This example removes the bullets or numbers from any numbered paragraphs in the selection.
remove numbers list format of text object of selection
This example removes the numbers from the beginning of any numbered paragraphs in the active
remove numbers active document number type number paragraph
This example removes the LISTNUM fields from the selection.
remove numbers list format of text object of selection ¬
number type number listnum
This example removes the bullets or numbers from the third list in MyDocument.doc.
if (count of Word lists of document "MyDocument.doc") 3 then
remove numbers Word list 3 of document "MyDocument.doc"