Script Save As on Multiple files without user interaction
W have many InDesign files in a single folder. I need to open all the files and do a Save As - not a Save - on them and replace the files in their original location I found the following script which does the save process, but I am unsure how to change this to do a Save as instead. Any help is appreciated.
tell application "Finder"
set myInFolder to choose folder with prompt "Select a folder"
set myFilelist to files in myInFolder whose name ends with ".indd"
end tell
tell application "Adobe InDesign CC"
set user interaction level of script preferences to never interact
repeat with myDoc from (count myFilelist) to 1 by -1
set myCurrentFile to item myDoc of myFilelist
open myCurrentFile
set myCurDocument to active document
tell myCurDocument
close (save)
end tell
end repeat
set user interaction level of script preferences to interact with all
beep 3
display alert "Finished!"
end tell