The original script was taken from the forum and I added comments and tweaked the script a bit.
- Create a new folder
Macrosin EmEditor installation folder (C:\Program Files\EmEditor\Macros) - Download the macro file and put it into the folder
- In EmEditor, select menu
Macros->Customize... - Select
Newand choose the macro file - Select the macro and select
Runs at Events - Select
Events...and then selectBefore Saving - All done!
¯\(ツ)/¯ I'm not the original author.