PDA

View Full Version : AutoClipboard ?



Luxelle
09-08-2015, 02:59 PM
Is there a way to beam something between a starting and ending set of params to one's clipboard?

Thanks,
me :)

m444w
09-08-2015, 03:40 PM
There is always a way...

do you use Windows or OSX?

Luxelle
09-08-2015, 03:43 PM
Windows. 7, if that matters. :)

m444w
09-08-2015, 03:51 PM
It matters very much:



text="i am now on the clipboard"

# this is what adds the text you want to the clipboard
%x{echo "#{text}" | clip}


The following take the text variable and echo's it to your clipboard, you will see a cmd.exe window pop open for a half a second whilst it interacts with your Clipboard.

This is kind of a dirty hack, but it's the quickest/simplest implementation for your situation.