Check out the excellent multipress macros from @noisneil
For more information, see the wiki Searching the Forum for Answers section.