Is there a way to save a document as a copy in InDesign CS4? I don't see a listing for 'saveACopy' in the online references, and I get an error 'saveACopy is not a function' if I try to do so. I don't see any parameters in the 'save' function to allow saving a copy either, so I don't know if there is any other way to do this. It appears this has command been added to CS5?
I am writing a script which will modify the current document, resizing and removing certain elements. If the current document has been modified, but not saved, I want to give the option for my script to save a copy and modify the copy. Currently, I alert the user that the document has been modified, and don't allow running the script; this will suffice if there is no way to save a copy, but if there is a way to do so, I would prefer to be able to add that functionality.
Can you Export as an .idml file and use that?
I can give that a try, although I might rather continue to prevent the user (who will be me most of the time running this) from using the script unless the document is saved if that is the only other option in CS4.
Thanks for the reply.