.. highlightlang:: us .. index:: auto_SaveDocumentAs .. _auto_savedocumentas: auto_SaveDocumentAs =================== .. us.tag auto_SaveDocumentAs NOTREADYENGLISH :ref:`auto_SaveDocumentAs` saves the document created with the :ref:`auto_LoadTemplate` function under a new name. .. function:: bool = auto_SaveDocumentAs(ssFileName) .. us.return **Return Value** *bool* is TRUE (1), when the document has be saved and otherwise, FALSE (0). .. us.params **Parameters** .. uparam:: ssFileName *ssFileName* is the complete name under which the document should be saved. Hint: When entering a file name, you can use a slash (``"/"``) instead of a backslash (``"\"``). Example: :file:`"c:/data/file.ipw"`. .. us.example **Example** :: auto_SaveDocumentAs("c:/data/dat.ipw") .. seealso:: :ref:`overview-automation`, :ref:`auto_LoadTemplate` :sub:`id-162566`