#9134
Yutaka Emura
Keymaster

Hi snovic,

Unfortunately, the macro recorder can only record keyboard activities in the editor. It can record mouse activities toward other applications, but it won’t record mouse activities within EmEditor.

To delete selected text,

document.selection.Delete();

is the macro you need.

Please let me know if you have further questions.

Thank you,