File close using script prompt message
Hi Experts,
I want to close my active docment forcefully wirthout save it.
when I close it manually then it prompt a message :
Save changes to the Adobe InDesign document "Abc.indd" before closing ?
Don't Save Cancel Save
I press Don't Save button and file close.
I want to do this process using script.
I use
#target indesign
var myDocument=app.activeDocument;
myDocument.close(1852776480);
where 1852776480 is "Save Option-No" value.
But it do not close my active document.
How close it ?
Thanks.