app.execMenuItem("Save") doesn't save document automatically
I have inserted the statement
app.execMenuItem("Save")in functions where I need automatic save to be performed. But the statement doesn't respond. Neither do I get an error. I read in some blog that Adobe will not find an error as the function Save exists in the menu option.
Is there any way of automatically saving a document?
