Get running title Version 7 (Net)
Action group: Word
Description
The action saves the text from a selected header.
Action icon
Settings of parameters
Свойство | Описание | Тип | Пример заполнения | Обязательность заполнения поля |
Параметры | ||||
Контекст | Уникальный идентификатор сеанса, к которому будет применено действие. | Robin.Word | Контекст Word | Да |
Колонтитул | Выбор колонтитула, из которого необходимо получить текст | Robin.String | Да | |
Результаты | ||||
Результат | Переменная, в которую будет записан текст колонтитула | Robin.String |
Special conditions of use
None.
Example of use
Task
Get running title of the document to a variable. (Получить верхний колонтитул документа в переменную. )
Solution
Use the "Open document", "Get running title", "Close document", "Message in log" actions.
Implementation
- Assemble a robot scheme with the actions.
- Set the "Open document" action parameters (see Open document (Word) ).
- In the "Path to file" field specify the path to the file test.docx.
- In the "Path to file" field specify the path to the file test.docx.
- In the "Context" field specify the context of the open Word-document.
- In the "Title" field specify "Header".
- Set the "Close document" action parameters (see Close document (Word)).
- In the "Context" field specify the context of the open Word-document.
- In the "Context" field specify the context of the open Word-document.
- Set the "Message in log" action parameters (see Message in log Base actions)
- In the "Message" field specify the message to be sent in log.
- In the "Message" field specify the message to be sent in log.
Обзор
Инструменты контента