Skip to main content

Read open document

Read the text of a document that is open in Word, including changes not yet saved.

Command in the Open Office files toolkit · id ooa.office_attach/word_read_text · 2 inputs (1 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
DocumentStringYesName of the open document (Letter.docx) or its full path.
Timeout (seconds)NumberNo60Maximum time in seconds.

Outputs​

OutputTypeWhat it is
textStringThe document's text, paragraphs on separate lines.