09-01-2018, 08:02 PM
I do not know if this is what you wanted, but in the below tutorial it is explained how you can get and set text from/to notepad++ while notepad++ is in-active. Mind you this is not windows notepad. The explained method only works in scintilla based editors (like notepad++).
https://www.youtube.com/watch?v=OZwj1dMo5TY&t=93s
(go to the 01:33 mark if the above link doesn't navigate you to it.)
https://www.youtube.com/watch?v=OZwj1dMo5TY&t=93s
(go to the 01:33 mark if the above link doesn't navigate you to it.)