Advertisement
n8henrie

Send text from Drafts to Quicksilver or Clipboard

Feb 23rd, 2013
267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.32 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # For more information: http://n8henrie.com/2013/02/2021/send-drafts-ios-content-to-quicksilver-or-clipboard-on-osx
  4.  
  5. # To send it to the clipboard:
  6. cat "$1" | pbcopy
  7.  
  8. # To send it to Quicksilver, uncomment below:
  9. # cat "$1" | qs
  10.  
  11. # This line deletes the file. #Comment or delete to prevent this.
  12. rm "$1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement