https://texmacs.github.io/notes/docs/macro-editor.html
I hope it is useful for someone.
G.
Thank you Pireddag. Very useful link.