Document functions

You can use Ability’s built-in document functions to display information about the document in which you are currently working. This is useful if you want a print-out to contain document information within the document itself.

The document functions directly access the information in Summary and Statistics contained in Properties under the File menu.

Here is a complete list of document functions in Ability:

Function

Operation

AUTHOR

returns author from Summary Information

COMMENTS

returns comments from Summary Information

CREATEDATE

returns the date document was created from Statistics

EDITTIME

returns the total document editing time from Statistics

FILENAME

returns the document name and location

FILESIZE

returns the size on the disk of the document

KEYWORDS

returns keywords from Summary Information

MERGECOUNT

returns the total number of merge records in the document

MERGEREC

returns the number of the current merge record

NUMCHARS

returns the number of characters in the document from Statistics (only applies to Write)

NUMPAGES

returns the number of pages in the document from Statistics

NUMWORDS

returns the number of words in the document from Statistics (only applies to Write)

PAGE

returns the number of the current page in the document

PRINTDATE

returns the date the document was last printed from Statistics

REVNUM

returns the number of times the document has been saved from Statistics

SAVEDATE

returns the date the document was last saved from Statistics

SUBJECT

returns the subject of the document from Summary Information

TITLE

returns the title of the document from Summary Information

See also:

Other functions