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: pauljlucas on Mar 08, '11 08:15:35AM
I've been using this for years:
#!/bin/sh
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 | # ]