#8533
Yutaka Emura
Keymaster

Hello derekcohen,

Unfortunately, there is no direct command to close all documents and bring up a new untitled document.

However, you can use this macro to do this:

editor.ExecuteCommandByID(4384);
editor.ExecuteCommandByID(4117);

Please let me know if you have further questions. Thank you!