Use the Read text action read an entire Word document or specific text from the document.

Considerations

An error is displayed if any of the following conditions are encountered when you deploy your automation to read some text from the Word document:
  • The session name that you have specified is invalid.
  • The page number, paragraph index or bookmark name provided is invalid.
  • The specified Word document is blank or does not contain any text.

Settings

  • Use the Session name field to click one of the following options to provide session name:
    • Session name: Enter the name that you gave the session when you opened it.
    • Variable: Select the variable that you have created to store the session name.
  • Click the Range drop-down menu to specify the range within the document to read, such as:
    • Full document: Read the text from the entire document.

      This is the default setting.

    • Page number: Read the text from the specified page number in the document.

      Enter the page number or click the Insert a value icon to select an existing variable that has the page number.

    • Paragraph index: Read the text from the paragraph at the specified index in the document.

      Enter the paragraph index or click the Insert a value icon to select an existing variable that has the page index.

    • Bookmark name: Enter the bookmark name to read.

      Read the text at the bookmark position or the selected text for bookmark name.

  • (Optional) Click the Assigned to drop-down menu to select a variable to store the text read from the Word document.

    If you have not created a variable, click the Create variable icon.