Martin Fischer once wrote a script, saveVersions.jsx , published at www.hilfdirselbst.ch:
Its companion script is VersionsCounter.jsx :
Maybe you can use these.
saveVersions.jsx does a "Save As Copy" in the background every time you do a "Save" or a "Save As" of your document. The versions are saved to a folder named "versions" just in the same folder where your original InDesign file resides. The versions are numbered (you'll be prompted for the max. number the first time you are using it). You can reset that number with VersionsCounter.jsx.
Should work with every version of InDesign from CS3 and above.
I use it myself with InDesign CS3, CS4, CS5, CS5.5 and CS6.
Did not test for higher versions.
You have to put the code in the startup scripts folder of InDesign's Scripts folder. If there is no startup scripts, just create one exactly named like this (without the quotes): "startup scripts".
Thanks so much. That appears to be precisely what I need. (Although I had to do some translating from German)
I am trying to get this two german scripts to work in my InD CC2018.
It creates a folder called versions, but never saves any versions.
Have you guys had any luck getting them to work?
If so, care to share your .jsx files?
can you post the code here?
"Use advanced editor" for formatting code as code:
BTW: Martin Fischer's script should still work unaltered with InDesign CC 2018.
What is your OS version?