Skip to main content

Save as

Save the document to a new .docx, .doc, .rtf or .odt file (.docx optionally password-protected) and continue the session on it, or export it as PDF or its text as a .txt file.

Command in the Word toolkit · id ooa.word/save_as · 5 inputs (1 required), no outputs

Inputs​

InputTypeRequiredDefaultWhat it is
PathFileYesTarget file path.
FormatStringNodocxdocx keeps the document; doc (Word 97-2003), rtf and odt are written with Microsoft Word (or LibreOffice) on the runner; pdf exports it the same way; txt writes the plain text (body, tables and headers). After pdf and txt the session stays on the previous file.
SessionStringNowordSession name.
OverwriteBooleanNotrueReplace a file that already exists at the target path; off stops with WORD.EXISTS (the default for new steps).
PasswordCredentialNoEncrypt the new .docx file with this password; later saves keep it.