David Posted September 25, 2013 Posted September 25, 2013 (edited) 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 Edited January 12, 2016 by David Don Dahl, GatorMapi and mixterdee 3
samvlu Posted September 25, 2013 Posted September 25, 2013 Awesome work. Just what I was looking for. Thanks for contributing. =) David 1
vitor Posted September 25, 2013 Posted September 25, 2013 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.
David Posted September 27, 2013 Author Posted September 27, 2013 Something like this. ah yes indeed sounds like fun, I'll have a look and adjust it link doesn't work btw.
vitor Posted September 27, 2013 Posted September 27, 2013 link doesn't work btw. Not sure what’s wrong, I just tried it again and it worked.
Don Dahl Posted November 25, 2013 Posted November 25, 2013 Damn i friggin' love this forum! You guys make my life so easy, you have no idea =)
paulw Posted February 16, 2014 Posted February 16, 2014 I'm wondering what folks are using this workflow vs using the built-in workflow template "Paste as plain text from hotkey"? (In Templates > Clipboard) Hatticus24 1
Don Dahl Posted March 1, 2014 Posted March 1, 2014 Can you elaborate on this paulw? I can't seem to locate what you're talking about
paulw Posted March 1, 2014 Posted March 1, 2014 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 GatorMapi and Don Dahl 2
Peter VandeHaar Posted January 12, 2016 Posted January 12, 2016 The bitly links are currently broken. Anyways, looks like https://github.com/notDavid/alfred-workflow-stripClipboardFormattingis the correct link for github. GatorMapi 1
timzter Posted September 30, 2021 Posted September 30, 2021 Used to use an app called TextScrub but it was disabled in the UK. This was the perfect replacement for it, thank you so much!
Vero Posted September 30, 2021 Posted September 30, 2021 @timzter It's worth pointing out that this is a very old thread, and pasting as plain text from Alfred's clipboard is a built-in feature. Workflows > [+] at the bottom of the sidebar > Examples > Clipboard will give you a few built-in workflows. The top left one can be set to a hotkey to paste the clipboard content as plain text. Cheers, Vero
Hans-Pe Posted November 15, 2021 Posted November 15, 2021 I do not use any workflow to paste plain text: I configured Alfred's Clipboard History as follows: Vierwer Hotkey: ⌘ Double Tab Pasting: Auto-Paste on Return. That's all I need to make me happy: ⌘C to copy to clipboard Go to Target ⌘ double tab, choose from Clipboard history and hit emter
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now