#6114

owilsky
Participant

Yes, that will help me, as long as I can call that function with ExecuteCommandByID.
Then I can implement a trigger so that I have the behaviour I want.

This can then be executed “on group window close”:


if(editor.Documents.Count == 1 && document.Name.length == 0 && document.Saved) {
editor.ExecuteCommandByID(4332); //EEID_SAVE_WORKSPACE_QUIT_ALL
}

EEID_SAVE_WORKSPACE_QUIT_ALL does not work, as you said by design.

Oliver