Skip to main content

Read Text

AutomatR.Word.Activities.ReadText

The "Read Text" activity in AutomatR is part of the Word activities package, allowing you to extract text from a Word document and store it in a string variable. This activity is useful for reading the content of Word documents, enabling further processing or analysis within your automation workflows.

Properties

NameDescription
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. Enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Read Text" activity. Useful for handling synchronization issues. Integer variables containing the delay duration. Example: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1.
Output
ResultOutputs the extracted text from the Word document as a string variable. The variable can be used for subsequent activities. String variables to store the extracted text.

How to use:

  1. Drag and drop the "Read Text" activity onto the workflow.
  2. Configure the properties by specifying the delay (if needed) and customize the display name.
  3. Execute the workflow to read the text from the associated Word document and store it in the specified string variable.

Example:

Consider an example where the "Read Text" activity is used to extract and store the content of a Word document:

Read Text:
Display Name: "Extract Document Content"
Delay: 2
Result: documentContent

In this example, the activity waits for 2 seconds, then reads the content of the associated Word document and stores it in the string variable "documentContent" for further use in the workflow.