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
Name | Description |
---|---|
Misc | |
Display Name | Provides 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 | |
Delay | Specifies 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 | |
Result | Outputs 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:
- Drag and drop the "Read Text" activity onto the workflow.
- Configure the properties by specifying the delay (if needed) and customize the display name.
- 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.