Close a document immediately
Hi,
I want to close a document and reopen it immediately. I am using SDKLayoutHelper methods to open and close a document. But closing a document with kProcess always crashes. I tried various methods(IDocumentCommands, ProcessScheduledCommands) to make it work but everytime it crashes.
Can anybody suggest me what is the right way to close and reopen the document immediately?
I am using InDesign CS4.
Thanks,
VSP
P.S. I am able to close and reopen by scheduling the commands.