Strip formatting from clipboard content and paste


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



Copy this code and paste it in your HTML
  1. do shell script ("clip=`pbpaste`;tmp=`mktemp -t cp`.txt;echo $clip > $tmp;cat $tmp | pbcopy")
  2. tell application id "com.apple.systemevents"
  3. keystroke "v" using {command down}
  4. end tell

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.