Open document
Open a .docx, .doc, .rtf or .odt document, or create a new one, as a named session; can open password-protected .docx files, check the password to edit and open read-only. .doc, .rtf and .odt files are converted with Word or LibreOffice on the runner and saved back in their own format.
Command in the Word toolkit · id ooa.word/open · 7 inputs (1 required), no outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Path | File | Yes | Document path. | |
| Create | Boolean | No | false | Create the document when it does not exist. |
| Session | String | No | word | Session name. |
| Read only | Boolean | No | false | Open for reading only: save over the opened file is refused, save_as to another file still works. |
| Password | Credential | No | Password of an encrypted document; saves keep the file encrypted with it. | |
| Edit password | Credential | No | Password to edit a document whose editing is restricted; a wrong one stops the step. Without it such a file still opens. | |
| Share | Boolean | No | false | Agents this one runs may use it. |