Jump to content
David

Strip formatting from clipboard text

Recommended Posts

Hi, this is probably the shortest and easiest workflow ever but i thought i'd post it anyway in case anyone finds it useful aswell. It simply removes the formatting from the text on the clipboard.

 

So, if you copy some text from Firefox and paste it in an E-mail, often the pasted text will have a different font/text size/bold,italic formatting than the alredy present text in your e-mail.

To solve this i use "Cmd + C" , "Alfred -> Strclip" , "Cmd + V", and the text will now be pasted with the correct formatting.

 

There's also a native OS X shortcut for this (Cmd + Alt + Shift + V), however it doesn't work in a lot of Applications (for example Pages) and also... pressing those 4 buttons is nearly impossible :)

 

----

EDIT: added option to "strip and paste".

 

 

Download: https://github.com/notDavid/alfred-workflow-stripClipboardFormatting/raw/master/Alfred-Strip.clipboard.text.formatting.alfredworkflow

Github source: https://github.com/notDavid/alfred-workflow-stripClipboardFormatting

 

Screenshot.png

Edited by David

Share this post


Link to post

You can make it even shorter and simpler. By adding a Copy to Clipboard node, you can relinquish pbcopy, and have the workflow automatically paste the text to the frontmost app. Something like this.

Share this post


Link to post

If you go to Alfred Preferences, click on the Workflows icon, then at the bottom of the list of workflows, click the "+" sign, then choose Templates > Clipboard >  Paste as plain text from hotkey

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...