I am trying to create a snippet which does not require any input but rather takes the existing content of the system clipboard and pastes it with a carriage return at the end.
I tried this but it does not work - I am having difficulity figuring out how to access the contents of the clipboard within Javascript.
Can you help?
popclip
name: Paste and Go
icon: square P-G
requirements: [’!text’]
javascript: |
{ popclip.pasteText (navigator.clipboard.text + ‘\n’ ) } #end