How do you type “Space” only if another key follows?

@Andreas_Hegenberg I would like to experiment with a sequence of actions, but don't know how to do it. Probably this can be done with the correct “if-conditions”, but the setup is too complicated for me.

I would like this result:

  • If “Space” is pressed and another key (letter) follows within 0.x s, then type “Space”. (Before this letter).

  • If “Space” is pressed and no other key follows within 0.x s, then do not type “Space”. Type/do nothing.