Just want to include these few macros I often use to automate the above actions :
Or well the entire thread by @ccstone is pretty awesome if people haven't seen it.
For more information, see the wiki Searching the Forum for Answers section.