Skip to main content

Find Text in Word Document Action

Find Text in Word Document Action finds and selects text in a Word document that matches the defined criteria. It searches for specified text and can apply additional search criteria such as highlight color, font color, font size or style. The result (whether the text was found) is stored in an output variable.

Appearance

In Talos, Find Text in Word Document Action appears as a standard rectangular node with a magnifying glass icon.

Find Text in Document Icon

Properties

As all Actions, Find Text in Word Document Action has a few unique properties that are essential for its functionality.

Common properties

Common properties inherited from Action.

Display NameString
This is the display name of the action.

By customizing this property, you can differentiate between same type of actions.

Action IDString
Indicates the unique ID of this action.

This property is Read only and it is not customizable

DisabledBoolean
If set to true, this action is considered disabled and will not be executed.
Word Document VariableString
The variable containing the Word document instance.
Text to findString with Expressions
The text to search for in the document.

See more about Talos Scripting language & Expressions

tip

This property supports expressions. You can use variable references and string expressions to dynamically resolve the search text at runtime.

Examples

Assuming a declared String variable with name searchTerm.

Introduction
${searchTerm}
Chapter ${searchTerm}: Summary
Dear Sir/Madam
Search from beginningBoolean
Whether to start the search from the beginning of the document.
Output VariableVariable
Variable to store whether the text was found (Boolean).
CriteriaSearch Criteria
The criteria to consider for the search.

Available criteria options:

  • Highlight Color — Match text by highlight color
  • Font Color — Match text by font color
  • Font Size — Not supported
  • Style — Not supported