Action group: Word
The action opens the Word-document
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Path to file | Path to the document | Robin.FilePath | Yes | |
Visible | If true the document will be opened with Word interface | Robin.Boolean | true | No |
Results | ||||
Context | Unique ID of the session to which the action will be applied. | Robin.Word | Word context |
The file to be opened can be any format listed in the table.
When opening a file with the “Open” action, you need to confirm the conversion of a file of any format into a Word file just like in a regular text editor, and then the robot will open the file you specified.
If a password is set on the document, you should enter it in the “Password” parameter. If you specify an incorrect password, the robot will generate an error. If the “Password” parameter is not filled in and a password is set on the document, the robot will generate an error.
There is a file test (2).docx. Open the document and add a text to it = "Text" to the start of the document. Next, save the document and close it.
Use the "Open document", "Enter text", "Save as", "Close document" actions.
The program robot completed successfully. The desired text was added to the document. The file was saved and closed.