2 Replies Latest reply on Mar 9, 2012 9:43 AM by MarkWalsh

    CS4 - document.saveACopy?

    MarkWalsh Level 4

      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.