Paste a value from the clipboard Version 2 (Net)
Action group: PowerPoint
Description
The action pastes a value from the clipboard to a slide. Suitable for pasting images, tables from the clipboard.
Action icon
Input parameters
Parameter | Description |
---|---|
Document instance | An instance of an open PowerPoint document where the value from the clipboard is to be added. |
Slide number | Number of the slide where you need to paste the value from the clipboard. |
Coordinates | Coordinates of the point relative to the upper left corner of the slide. |
Width | Width of the object to be added. |
Height | Height of the object where the value will be added. It is not taken into account if the "Width" parameter is not specified. |
Settings
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
The document instance | An instance of an open PowerPoint document where the value from the clipboard is to be added. | Robin.PowerPoint | Yes | |
Slide number | Number of the slide where you need to paste the value from the clipboard. | Robin.Numeric | Yes | |
Coordinates | Coordinates of the point, where the value will be added. | Robin.LocationPo int | Yes | |
Width | Width of the object where the value will be added. | Robin.Numeric | No | |
Height | Height of the object where the value will be added. It is not taken into account if the "Width" parameter is not specified. | Robin.Numeric | No |
Special conditions of use
None.
Example of use
Task
You have a PowerPoint document. Paste an image saved to the clipboard, save the changes and close the document.
Solution
Use the "Open PowerPoint document", "Paste a value from the clipboard", "Save as", "Terminate PowerPoint" actions.
Implementation
- Move the "Open PowerPoint document" action to the workspace and set its parameters:
In the "Path to file" field specify the path to the PowerPoint document.
In the "Visible" field check the checkbox = true. - Move the "Paste a value from the clipboard" action to the workspace and set its parameters:
In the "The document instance" field specify the instance of the open document where the image from the clipboard is to be pasted.
In the "Slide number" field set value 1.
In the "Coordinates" field specify coordinates of the point where the image will be inserted. - 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. - Move the "Terminate PowerPoint" action to the workspace and set its parameters.
In the "The document instance" specify the open document instance that is to be saved. - Start the robot by clicking "Start" in the top panel.
Result
The program robot completed successfully. The image from the clipboard was pasted in the slide.
Обзор
Инструменты контента