Navigation: DocScript Reference > DocScript Functions >

Microsoft Word Documents Functions

 

 

 

 

Function

Description

[Word.GetWordFile]()

Returns the file name that will be used.

[Word.SetWordFile](filename)

Sets the file name that will be used. (Required).

 

Parameter(s)

filename - Typically this would be the filename of the current document {fdocname}.

[Word.Open](filename)

Sets and opens the file. (Optional).

 

Parameter(s)

filename - Typically this would be the filename of the current document {fdocname}.

[Word.Close]()

Closes the file after use. (Required).

[Word.TotalPages]()

Returns the number of pages in the Word file.

[Word.GetSinglePage](pagenumber)

Returns the content of a specific page.

 

Parameter(s)

pagenumber - Page number.

[Word.GetAllPages]()

Returns the content of all pages.

 

 

 

 

Copyright © 2024 Portford Solutions Group, Inc.