Insert text Version 3 (Net)

Action group: Power Point 


Description

The action is for inserting text into a placeholder on a slide.


Action icon

Settings of parameters

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
The document instanceAn instance of an open PowerPoint document where you want to insert text.Robin.PowerPoint
Yes
Slide numberNumber of the slide where you need to enter the text.Robin.Numeric
Yes
Shape numberName of the shape where you need to enter the text.Robin.Numeric
Yes
TextText to be added to the shape.Robin.String
No
Add text toPlace in the shape where the text will be added.Robin.String
Yes
With the new lineText will be added from a new line.Robin.BooleantrueNo

Special conditions of use

None.

Example of use

Task

There is a PowerPoint document. You need to insert text on slide 1, form 1 - "Hello, world!", save the changes and close the document. 

Solution

Use the following actions: Open PowerPoint document, Insert text, Save as, Close PowerPoint document. 

Implementation

1. Move the Open PowerPoint Document action to the workspace and set its settings:


In the "Path to file" field specify the path to the PowerPoint document file. 
In the "Visible" field set checkbox = true.

2.  Move the "Insert text" action to the workspace and set its parameters:

In the "The document instance" field, specify the instance of the open document where you want to insert the text. 
In the "Slide number" field specify the value 1. 

In the "Shape number" field, specify the value 1. 
In the "Text" field, specify the text "Hello, World!"
In the "Add text to" field specify - Beginning of the shape. 

3. Move the "Save as" action to the workspace and set its parameters:

In the "the document instance" field, specify the instance of the open document to be saved. 

4. Move the "Close" action to the working area and set its parameters:

In the "The document instance" field, specify the instance of the open document to be closed.

5. Launch the robot using the "Start" button in the top panel. 

Result

The program robot completed successfully. The text was successfully added to the slide. 


  • Нет меток