Hello,
I'm trying to build a save and close button and want the close to only work if the save was successful.
I'm hitting 2 problems:
-app.execMenuItem("Save") doesn't seem to work, I would liek it to but could use app.execMenuItem("SaveAs") as that does work
-I cannot find out if the save was successful, I can only get it to return "undefined". Does this mean it has no value, or that it just can't read what it is returning?
Many thanks,
Tom