@Santiago-Quintero
let us try something different, goto https://notepad-plus-plus.org/download/v7.7.1.html and download one of the portable versions, the zip package or 7z package. You DON’T have to uninstall the current version just make sure, that you don’t have your current version running when redoing the test with the macros. If this works, then I suspect something corrupted your config files.
So, the steps are
download a portable version
unpack it where ever you want
make sure the installed version is not running
start npp from the downloaded package
create you macro and check if it works
stop npp and restart npp and see if the macro still works.
If this doesn’t work, then you need to explain in details what exactly you did in each step described above.