Try a multipress macro, for example the one from @noisneil
For more information, see the wiki Searching the Forum for Answers section.