#5654
Yutaka Emura
Keymaster

owilsky wrote:
Hi,

is it possible to do a “File/Exit All” in a macro with ExecuteCommandByID? I didn’t find anything about it in the docs…

If it is not possible, is there any other way to do this?
I do not want to close the open files! I have set EmEditor to reopen the tabs when EmEditor restarts. I just want to exit EmEditor completely. “File/ Exit All” does exactly what I want, but I have to do that in a macro.

Thanks,
Oliver

“Exit All” is the same as “Close All”. You can use
editor.ExecuteCommandByID (4119);