app.project.save()
app.project.save(file)
Description
Saves the project. The same as the File > Save or File > Save As command. If the project has never previously been saved and no file is specified, prompts the user for a location and file name. Pass a File object to save a project to a new file without prompting.
Parameters
fil e Optional. An ExtendScript File object for the file to save.
Returns
None.