Does anyone know how to set an automatic back to InDesign? Yes, I'm aware that there are tons of general backups available and can always "save as" to make copies. However in a team enviroment where many people work on InDesign files, we need a more robust backup solution specifically for InDesign. Coming from Quark, there was an automatic backup available at set intervals. Running: InDesign CC 2014.
Anyone with assistance, thanks much in advance.
tell application "Finder" to set backupPath to folder "Macintosh HD:documents:backup files"
tell application "Adobe InDesign CS2"
set myFilePath to file path of active document
set myFile to full name of active document
set cd to current date
set nuName to name of active document
set nuName to nuName & "-" & ((year of cd) & (month of cd) & (day of cd) as string)
set nuName to nuName & "-" & (time of cd) as string
tell application "Finder"
set backupFile to duplicate myFile to backupPath
set name of backupFile to nuName
save active document
save active document
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)