Macro Language Reference > Macros > Document Preferences > autosave
  
autosave
Description
A control keyword used with fdpref: automatic document saving. See also tsavea.
 
Example 65. Activate document autosave
The macro below specifies an autosave setting of 2 minutes' delay, 5 minutes' idle time and and 30 seconds countdown:
fdpref autosave 120,300,30
Syntax
autosave primary delay:n idle:n countdown:n
primary delay
The minimum amount of time in seconds that must elapse since the first change.
idle
The amount of time in seconds the system must remain idle before the countdown starts.
countdown
Warning countdown time. If delays 2 or 3 are interrupted, timing will restart from delay 2. Delays 2 and 3 can be both zero to cause an immediate AutoSave after the primary delay.
Related Links