autocount Parameter

Sets the number of changes before the next autosave.

Scope: File

Syntax

query autocount 
set autocount [Number] 

Option

Number 
Number of changes required before an autosave. The default is 50 and the maximum is 32767.

Description

The autocount parameter sets the number of changes you can make before the file is automatically saved. The file is automatically saved, using the autoname, if the number of changes since the last save or autosave (or since the file autosave) equals or exceeds the autocount value and no key has been pressed for idletime seconds. You can use query autochanges to determine the number of changes since the last save or autosave.

Note: Setting autocount to 0 may prevent changes from triggering an autosave of the file. However, an autosave is made anyway if the time since the last autosave (or load) equals the value set by the autotime parameter and at least one change has been made since that save or autosave.

Example

To set a file to save automatically after 20 changes are made, type:

set autocount 20 

API Return Code

-2 
The number specified was either outside the valid range or not a whole number. Issue the command again using a valid number.

autochanges Parameter
autoname Parameter
idletime Parameter