История страницы
Close document Version 9 (Net)
Action group: Word
Description
The action closes the Word-document.
Action icon
Settings of parameters
Свойство | Англ. наименование | Описание | Тип | Пример заполнения | Обязательность заполнения поля |
---|---|---|---|---|---|
Параметры | |||||
Контекст | Context name | Уникальный идентификатор сеанса, к которому будет применено действие. | Идентификатор контекста Word | WordInstance* | Да |
Special conditions of use
The "Close document" block does not include actions for saving a file.
Example of use
Task
There is a file test (2).docx. Open the document and insert = "text" at the beginning of the document. Next, save the document and close it.
Solution
Use the "Open document", "Enter text", "Save as", "Close document" actions.
Implementation
- Assemble a robot scheme with the actions.
- Set the "Open document" action parameters.
In the "Path to file" field specify the path to the file test (2).docx.
In the "Add text to" field specify "Start of the document".- Move the "Save as" action to the workspace and set its parameter.
In the context field specify context of the open document. - Move the "Close document" action to the workspace and set its parameter.
- Click "Start" in the top panel.
Result
The program robot completed successfully. The desired text was added to the document. The file was said and closed.
Обзор
Инструменты контента