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


You need to login to view comments.