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

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
The document instanceThe instance of the PowerPoint document in which the text will be replaced.Robin.PowerPoint
Yes
FindThe text to be replaced.Robin.String
Yes
Replaced byThe text to which the original text will be changed.Robin.String
Yes
Replace modeThe mode by which the text will be replaced.Robin.String
No
Case sensitiveA 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.BooleantrueNo
Full text searchIf 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.BooleantrueNo

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

  1. Assemble a robot scheme consisting of actions: 

  2. 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.

  3. 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.

  4. Set the parameters of the "Save as" action. In the "The document instance" field specify the instance of the open document to be saved. 

  5. 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.

  6. 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:

  • Нет меток