Microsoft Word Suite
Class: document version
Represents a single version of a document. The document versions list includes all the versions of
the specified document.
Use document version index, where index is the index number, to return a single document version
object. The index number represents the position of the version in the document versions list. The
first version added to the document versions list is index number 1. The following example
displays the comment, author, and date of the first version of the active document.
if (count of document versions of active document) 1 then
set v1 to document version 1 of active document
display dialog "Comment = " & (comment of v1) & return & ¬
"Author = " & (saved by of v1) & return & "Date = " & (date value of v1)
command to add an item to the document versions list. The following example
adds a version of the active document with the specified comment.
save version active document comment "incorporated Judy's revisions"
Returns the comment associated with the specified version of a document. Read-only.
The date and time that the document version was saved. Read-only.
Returns a number that indicates the position of a document revision in the document revisions
Returns the name of the user who saved the specified version of the document. Read-only.
Class: drop cap
Represents a dropped capital letter at the beginning of a paragraph. Each paragraph object contains
only one drop cap object.
To return a drop cap object, use the drop cap property of a paragraph object. The following example
sets a dropped capital letter for the first letter in the first paragraph in the active document.
enable drop cap of paragraph 1 of active document
set position of drop cap of paragraph 1 of active document to drop normal