Question
determine if file has never been saved in javascript
Once again I have a question regarding a way to determine some quality in Photoshop:
Suppose I want to save all files that have been newly created and have not yet been saved in Photohop.
The saved-criterion would also include files that have been changed since the last save, so I thought the absence of a file-path would make for a good distinguishing characteristic; I only managed to successfully use that in a try-catch-clause though, which is bad form Ive been told:
Is there another way to identify a document that has never been saved?
Suppose I want to save all files that have been newly created and have not yet been saved in Photohop.
The saved-criterion would also include files that have been changed since the last save, so I thought the absence of a file-path would make for a good distinguishing characteristic; I only managed to successfully use that in a try-catch-clause though, which is bad form Ive been told:
Is there another way to identify a document that has never been saved?

