Putting data on the clipboard in OS X


/ Published in: Ruby
Save to your folder(s)



Copy this code and paste it in your HTML
  1. IO.popen('pbcopy', 'w').print "Text to go on clipboard"

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.