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

ParameterDescription
Document instanceAn instance of an open PowerPoint document where the value from the clipboard is to be added.
Slide numberNumber of the slide where you need to paste the value from the clipboard.
CoordinatesCoordinates of the point relative to the upper left corner of the slide.
WidthWidth of the object to be added.
HeightHeight of the object where the value will be added. It is not taken into account if the "Width" parameter is not specified.

Settings

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
The document instanceAn instance of an open PowerPoint document where the value from the clipboard is to be added.Robin.PowerPoint
Yes
Slide numberNumber of the slide where you need to paste the value from the clipboard.Robin.Numeric
Yes
CoordinatesCoordinates of the point, where the value will be added.Robin.LocationPo int
Yes
WidthWidth of the object where the value will be added.Robin.Numeric
No
HeightHeight 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

  1. 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.
  2. 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. 
  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 "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.
  5. 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.


  • Нет меток