Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

Paste a value from the clipboard

...

Version 2 (Net)

Группа действийAction group: PowerPoint 

Описание

Действие вставляет значение из буфера обмена в слайд. Подходит для вставки картинок, таблиц из буфера обмена.

Иконка действия

Image Removed

Входные параметры:

Экземпляр документа              Экземпляр открытого PowerPoint-документа, в который необходимо добавить значение из буфера обмена

Номер слайда                           Номер слайда, в котором необходимо вставить значение из буфера обмена

Координаты                              Координаты точки относительно левого верхнего угла слайда

Ширина                                     Ширина объекта, который будет добавлен

Высота                                       Высота объекта, который будет добавлен. Не учитывается, если не указан параметр "Ширина"

...

Description

The action pastes a value from the clipboard to a slide. Suitable for pasting images, tables from the clipboard.

Action icon

Image Added

Input parameters

ParameterDescription
The 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»
"Width" parameter is not specified.Robin.Numeric
No

Особые условия использования

Отсутствуют.

Пример использования 

Задача 

Имеется Power-Point документ. Необходимо вставить в него изображение, заранее сохраненное в буфер обмена, сохранить изменения и закрыть документ. 

Решение

Воспользоваться действиями: Открыть Power-Point документ, Вставить значение из буфера обмена, Сохранить как, Закрыть Power-Point документ. 

Реализация

...

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:
    Image Added

    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. 
    Image Added
  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.
    Image Added
  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.
    Image Added
  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.

...

Результат

Программный робот отработал успешно. Картинка добавлена на слайд из буфера обмена.