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


Click here to return to the 'Paste and Match Style' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Paste and Match Style
Authored by: ctierney on Oct 04, '07 09:38:14AM
Here's an AppleScript version:
set the clipboard to «class ktxt» of ((the clipboard as text) as record)
-- Cole

[ Reply to This | # ]
Paste and Match Style
Authored by: spiff on Oct 04, '07 04:29:01PM

A fairly simple and fast approach involves keeping TextEdit open.

Open up TextEdit (Applications:TextEdit) and then put it in 'text mode' only (cmd-shift-T)

take the formatted text you want, paste it (cmd-v) into text edit and all the formatting is wiped. Without clicking a button, do cmd-c and you've got text free of bold/italic/font-size etc. and it's now just pure text.

no applet needed, just a mouse-click/cmd-tab to TextEdit, paste/copy, cmd-tab back to the app/web site/whatnot.



[ Reply to This | # ]
Paste and Match Style
Authored by: wayneDL on Oct 07, '07 01:02:26PM

now this is a great tip--using applescript and apple events instead of pbcopy | pbpaste will probably avoid the buffer problem mentioned in another comment. thanks.



[ Reply to This | # ]