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

Automatically reformat text pasted into Cocoa apps Apps
Generally what is found in the Edit menu in applications is pretty standard, and I almost never poke around in there, because all of the necessary features are controlled by standard, easy-to-remember shortcuts. However, in my boredom one day, I stumbled upon what I believe is a new addition to the Edit menu in Tiger, the 'Paste and Match Style' option, invoked by the Command-Option-Shift-V shortcut. It does exactly what it says, and I've used it in TextEdit, iChat, and Mail.

This feature is very helpful for pasting things from websites that generally have weird formatting and colors (and require a lot of clicking to remove). I realize this isn't much of a hint, as the feature is in plain view for all to see, but I've been a Tiger user since the beginning, and I found it only last week. It's a little improvement that I've already found somewhat indispensable. Enjoy.

[robg adds: Yes, it's a menu item. Yes, it's plainly visible to all. Yes, I chose to run it as a hint, because a surprisingly large number of people aren't aware of it. It's not new to Tiger, though -- in Panther, it was called 'Paste With Current Style,' and accessed via the same shortcut. You'll only find this in Cocoa applications by default, though I suspect it could be added to Carbon apps as well, if the developers wished to support it. And please, save yourself the trouble of posting insightful comments such as "Hey, look at File: Save As, and Edit: Cut, and ...". If you feel this hint is too basic, just move along, there's nothing to see here :).]
    •    
  • Currently 3.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[6,789 views]  

Automatically reformat text pasted into Cocoa apps | 10 comments | Create New Account
Click here to return to the 'Automatically reformat text pasted into Cocoa apps' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Automatically reformat text pasted into Cocoa apps
Authored by: rmessnerjr on Jan 05, '06 07:00:54AM

I, too, ran into this by mistake a few days ago. It is invaluable in my church website work. I receive text to put on the website from all sorts of sources. Some send me text already formatted for their handout, with pretty little clip art all over it, and text of various font faces, sizes, and types. Others output in html that requires extensive re-coding to meet XHTML and CSS standards. This allows me to place plain text in a web page without re-coding it.

Thanks for posting the hint. It's a good reminder and now it's searchable for those of us with a memory like a metal seive.

---
RalphM



[ Reply to This | # ]
Automatically reformat text pasted into Cocoa apps
Authored by: tirerim on Jan 05, '06 07:02:37AM
If all you want is to be able to read the text on a site with annoying color choices, and don't need to save it (something that happens to me occasionally), the "zap colors" bookmarklet available from http://www.squarefree.com/bookmarklets/zap.html is also quite handy, and works in Safari (though they don't mention it) as well as Firefox.

[ Reply to This | # ]
Automatically reformat text pasted into Cocoa apps
Authored by: dfbills on Jan 05, '06 07:20:54AM

Good one.

---
-d



[ Reply to This | # ]
Automatically reformat text pasted into Cocoa apps
Authored by: MtnBiker on Jan 05, '06 09:44:39AM

Rules are meant to be broken. I've been a Mac user for 21 years, and it's hard to remember all the changes (I find myself trying some Word 5.1 shortcuts now and again—of course they don't work), and although I had been made aware of this one, I need reminders that it exists.

And with the way Apple has made text formatting more difficult in OS X (IMHO), anything that simplifies text handling is good.

In fact, maybe you could run "obvious" hints over again or "did you knows?" But then again maybe you don't need more work, but a once a week feature might be worth a try; maybe only when things slow down after a new OS release.

---
Hermosa Beach, CA USA



[ Reply to This | # ]
Did you know?
Authored by: windrag on Jan 05, '06 11:41:56AM

I second the "Did you know?" category idea. Perfect. Since the user can customize their view of the site, if someone doesn't want to read them, they can just choose not to.

Keep them coming!

---
windrag | 700MHz iBook 16 VRAM G3 | 640MB RAM | OS X 10.4.3



[ Reply to This | # ]
Automatically reformat text pasted into Cocoa apps
Authored by: GlowingApple on Jan 05, '06 12:11:39PM

Or maybe even just a random hint of the day from past years. It would be easier to program as the script would just have to pick randomly from the database, and would probably be just as handy.

---
Jayson --When Microsoft asks you, "Where do you want to go today?" tell them "Apple."



[ Reply to This | # ]
Automatically reformat text pasted into Cocoa apps
Authored by: brianw on Jan 05, '06 04:52:43PM

Unfortunately, "paste and match style" doesn't actually do that in iChat--it pastes in iChats default style (Helvetica, I think) no matter what font/size/color setting you're using as your default. Still, it's better than getting an html link when you really just want to paste a straight URL.



[ Reply to This | # ]
How it works in iChat and AIM
Authored by: MJCube on Jan 05, '06 08:00:05PM

True if it's the first text you paste in the space, but I discovered that once you've typed anything, Paste and Match Style then matches your default font. I type a letter first, and delete it before sending the IM. Clunky but still faster than any other way.

Also, the AIM server automatically parses any valid URL or e-mail address and converts it into an underlined link anyway, so you can't send a full URL in plain text on that system. I enjoy making my own links with Edit > Add Hyperlink… ⌘K.



[ Reply to This | # ]
Automatically reformat text pasted into Cocoa apps
Authored by: asmeurer on Jan 05, '06 05:35:52PM

If you are copying from Safari, you could just to option-command-c to plain copy. This may or may not be part of Saft.



[ Reply to This | # ]
Automatically reformat text pasted into Cocoa apps
Authored by: neqer on Jan 07, '06 12:30:58AM

Very usefull. I'd never have guessed this, for the french translation of this menu is "Paste Style and Apply". They should check the english skills of their translators !



[ Reply to This | # ]