Don’t understand ? I’ve just downloaded the 7z archive for portable version of N++ v6.8.5 and extracted all its contents to a new folder.

Then, after adding this new macro to the shortcuts.xml file and starting N++, the action Macro - New HTML Text DID create a new HTML file, with the general HTML frame !!

Are you sure that you added this macro, in the right file ? As for me, I generally use portable versions of N++. but, if you use the N++'s installer, the location of your active configuration files should be in %appdata%\Roaming\Notepad++ ( or something like that ! )

Did you stop any instance of N++, before and use an OTHER editor, than N++, to add this new macro to Shortcuts.xml ?

May be, a no default plugin, installed, could break the macro behaviour, but I don’t believe it ?

ok found the problem working correctly now :) thanks for the help
I first changed it in the “C:\Program Files (x86)\Notepad++”
now tried it in the “%appdata%\Roaming\Notepad++” folder and it worked :)
thansk for the help

Oh yes, of course ! BTW, instead of thinking about complicated things, we could, simply, have a shortcut to a simple text file, which would contain the general HTML template, as a back-up. Then a simple CTRL-C / CTRL-V in a new tab and selection of the HTML language would do exactly the same job !

And the time for these few simple actions is, probably, very small, compared to the one needed to get the right HTML file finished and bugs free, isn’t it ?