Solved with Keyboard Maestro 10.1. Thanks @peternlewis!
For more information, see the wiki Searching the Forum for Answers section.