#7420
Yutaka Emura
Keymaster

DKlein wrote:
I can run a macro on a file from the command line; but then, I’d like EmEditor to save and close down. Then I could put that line into a batch file with other commands and the user wouldn’t have to close EMEditor. Maybe there is a macro command to close EM?

Please try this:


editor.ExecuteCommandByID(4119);

http://www.emeditor.com/help/cmd/file/exit_all.htm