Advertisement
applehelpwriter

makePlainTxt

Jun 25th, 2013
382
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --simple one-liner to convert RTF sent to the clipboard to plain text for pasting without formatting
  2.  
  3. (*
  4. How to use:
  5. Select the target text, do Command-X or Command-C
  6. Run the script
  7. Choose the destination and do Command-V
  8. *)
  9.  
  10.  
  11. set the clipboard to «class ktxt» of ((the clipboard as text) as record)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement