@peternlewis's advice from the thread 'How to wait for any key in a macro'
- Enable or activate a hot key triggered macro with the specific keys. This is generally a better way to detect keystrokes anyway, since otherwise tapping the key could be missed, especially if one part of the condition is slow.