There is no automatic way for a script to enable autosave mode.
You can, however, use
app.save[]
To request that the current document be saved, possibly in combination with
app.exit[]
To save and quit. See the App Interface for more information.
There is no automatic way for a script to enable autosave mode.
You can, however, use
app.save[]
To request that the current document be saved, possibly in combination with
app.exit[]
To save and quit. See the App Interface for more information.