Action group: Office
The action adds text to the document
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Context | Context for working with a document | Robin.OpenTextDo c | Yes | |
Text | Text to be removed | Robin.String | Yes | |
All matches | If the parameter value is True, then all found matches will be deleted. Otherwise, only the first fragment found. The default value is «false» | Robin.Boolean | true | No |
Case sensitive | If the value of the parameter is True, then the case of characters will be taken into account when searching for matches. The default value is «false» | Robin.Boolean | true | No |
Results | ||||
Result | String variable containing the processed text | Robin.String |
None.
There is a file test (2).docx. You need to add a record = “test record” to the beginning of the document. Then, save the document and close it.
Use the "Open", "Enter text", "Save", "Close" actions.
The program robot completed successfully. The needed text was added to the document. The file was saved and closed.