Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Easily paste and match style anywhere' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Easily paste and match style anywhere
Authored by: arcticmac on Mar 07, '11 07:42:39AM

Another alternative that might be even easier and would work outside a web browser would be to write an applescript something like
do shell script "pbpaste | pbcopy"
Which could then be run from your script menu or your favorite keyboard shortcut program.

[ Reply to This | # ]
Easily paste and match style anywhere
Authored by: pauljlucas on Mar 08, '11 08:15:35AM
I've been using this for years:
pbpaste | pbcopy
osascript -e 'tell application "System Events" to keystroke "v" using command down'
I named the text file "Paste Plain Text", did a chmod +x on it, and put it in ~/Library/Scripts so it shows up in on the Scripts menu. You select the text you want, do a Command+C as normal, then select this script from the menu.
- Paul

[ Reply to This | # ]