Someone will correct me if I'm wrong, but I don't believe there is any direct, automatic, or "quick" way to do what you're asking. It's simply not an intended workflow.
Perhaps if you explain in more detail what you wish to accomplish, there will be something to consider.
I think Rob Day has posted an Applescript to do it. There may be some other scripts out there as well.