This content has been marked as final. Show 4 replies
What file name and path are you using?
Thanks for the quick reply,
I'm getting the path from "Folder.selectDialog", then adding a filename to it, something like this:
myFolder = Folder.selectDialog ("Choose Output Folder");
NewDocumentFile = new File(myFolder+"/NewDoc.indd");
As I mentioned before, the file is created and saved without issue. It only gives the error when I try and close the document.
NewDocument = NewDocument.save(NewDocumentFile);
That did the trick!