Replace text Version 1 (Net)
Action group: PowerPoint
Description
The action finds the specified text in the presentation and replaces it with the entered text.
Specifies the PowerPoint document, text to replace, text to replace, and optionally replacement mode, case sensitive, and full-text search.
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
The document instance | The instance of the PowerPoint document in which the text will be replaced. | Robin.PowerPoint | Yes | |
Find | The text to be replaced. | Robin.String | Yes | |
Replaced by | The text to which the original text will be changed. | Robin.String | Yes | |
Replace mode | The mode by which the text will be replaced. | Robin.String | No | |
Case sensitive | A parameter that is case sensitive. If the value is «true», the search text will be case-sensitive. If the value is «false», it will not be case sensitive. | Robin.Boolean | true | No |
Full text search | If true, search looks for exact match of specified word. If false, search looks for a word part. If more than one word is specified as search value, this parameter is ignored and set to false. | Robin.Boolean | true | No |
Special conditions of use
If the text specified by the user is not detected, the action returns nothing. The robot will not return an error.
Example of use
Task
There is a PowerPoint document. It is necessary to replace the text on all slides. Text to replace: "Pushnyakov". Text to replace with: "Pushkin".
PowerPoint document:
Solution
Use the actions "Open PowerPoint document", "Replace text", "Save as", "Close PowerPoint document".
Implementation
- Assemble a robot scheme consisting of actions:
- Set the parameters of the "Open PowerPoint document" action. In the "Path to fil " field, specify the path to the PowerPoint document file. In the "Visible" field, set the checkbox = true.
- Set the parameters of the "Replace text" action. In the "The document instance" field specify the instance of the open document in which you want to replace the text. In the "Find" field specify the text to be replaced. In the "Replaced by" field specify the text to be replaced. In the "Replace mode" field, select "Replace all matches". In the "Case sensitive" field checkbox = true. In the "Full text search" field, check the box = true.
- Set the parameters of the "Save as" action. In the "The document instance" field specify the instance of the open document to be saved.
- Set the parameters of the "Close PowerPoint document" action. In the "The document instance" field, specify the instance of the open document to be closed.
- Launch the robot using the "Start" button in the top panel.
Result
The program robot completed successfully. The text was replaced with the specified text.
PowerPoint document:
Обзор
Инструменты контента