Question
StartUp Script 4 CLOSE
Hi Friends,
I Tried the Below startup script.
#targetengine session
app.menuActions.itemByName("Close").eventListeners.add("beforeInvoke", function()
{
//Functions
});
When I closed a Document via (shortcut -> command + w) keyboard, script executes.
But , When I closed a Document via the Close button of the Doc, nothing happens
Please advise.
Thanx in advance..........