After Effects ExtendScript how do I detect if the project needs saving?
<p>I'm using ExtendScript .jsx scripts to automate a few things in After Effects.  It gives me a lot of control, but I can't obviously see whether there's a property of app or app.project which tells me if the open project has edits since its last save.  My script needs to know this to decide whether to automatically save to a new file if there are edits, or keep with the current file if there aren't.</p>