Clipboard write


Anyone ever use the clipboard-write node? I've got a debug node hooked up in parallel that says msg.payload = "x", but when I paste from the clipboard it just gives me "payload".



a simple inject seems to work for me... can you share just that part of your flow that fails ?



Hmm. I think I might be off track here. How did you access the clipboard? I realize that this probably isn't going to put anything on the clipboard of the device running the UI. Which is what silly me was hoping for.



good point - i was just trying it all on the one machine so of course it works :slight_smile:

It is based on this library - so I think you are correct - will be the server side clipboard it goes into.

1 Like


I just wanted to be able to copy the notification text, and it looks like it lets me do that, so I'm good. Thanks. Are you the main nr guy?



Are you folks discussing node-red-contrib-clipboard? I haven't tried it before, and I can't make it work. I'm running NR v0.20.0-beta.5 and Node.js v8.15.0, and the browser is Safari on macOS 10.11.6. My flow is


The clipboard-read node reports an error

Error: Command failed: xclip -selection clipboard -o
Error: Can't open display: (null)

and the clipboard-write node fails silently. Am I doing something wrong?



Yes we are. I was running NR in chrome on windows, and was thinking that content would go between NR and my windows clipboard. Of course, that isnt the case, so I lost interest. What are you hoping to do?