OK I found out by myself
Some commands are not well supported by macros but it’s possible to add them manually via editing shortcut.xml file
see n++ doc : http://docs.notepad-plus-plus.org/index.php/Editing_Configuration_Files#.3CMacros.3E
following threads if neededhttp://stackoverflow.com/questions/362444/how-to-write-macro-for-notepad
http://stackoverflow.com/questions/21194367/notepad-shortcut-for-new-open-containing-folder-in-menu-commands
In my case I wanted code “44042” which is “Hide Lines” in the menu (used Resource Hacker to check the menu entry code).
excerpt of my new shortcuts.xml file :
<Macros>
<Macro name=“test RDUV” Ctrl=“no” Alt=“yes” Shift=“yes” Key=“84”>
<Action type=“2” message=“0” wParam=“44042” lParam=“0” sParam=“” />
</Macro>