Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5653
    owilsky
    Participant

    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

    #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);

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.