@Jose-Victor-Mirandola-da-Silva
Hmmm, not sure you can, without some help…
For example, you could script something with the Pythonscript plugin that would loop over all open XML files and execute this:
Notepad.runMenuCommand('Macro', 'your macro name here')
Probably more effort than you wanted to go to…
Maybe there’s a way with the NppExec plugin? Experts on that plugin please chime in if so…