saveall Command

Invokes an Editor command or macro after saving a set of modified files.

Scope: Global

Syntax

Options

prompt 
Displays the Save before action secondary dialog box to allow the user to select the modified files to be saved.
EditorMacro 
Any Editor command or macro. This variable is optional.

Description

The saveall command, issued without options, saves all modified, named files. Using options, you can save selected files, and you can specify a macro to be run after the file save operation.

A progress indicator will be displayed during the save operation. The file being saved will be shown in the status field, and you can interrupt the save operation by clicking on the Stop push button.

Documents not yet named are not saved by the saveall command.

Example

To prompt the user to save any modified files before invoking the build. lx macro, type:

saveall prompt macro build b 

API Return Codes

-1 
System resource error. Save operation aborted.
1 
The save operation has been cancelled or stopped.

save Command