https://community.notepad-plus-plus.org/topic/18225/nppexec-clipboard-data-from-windows/2
NppExec clipboard data from windows | Notepad++ Community
Sep 13, 2019 - As discussed in e-mail, the usage of sci_sendmsg SCI_PASTE instead of the npp_menucommand Macro/a2 solves the problem.
clipboard datawindows notepadcommunity