Have a look at this for an example with the approach @Frank1 described:
Alternatively you can do it like this, using the BTTLastUsedKeyboardShortcut variable in a condition (requires a relatively recent version):
There are various more ways to achieve this, but I think these are the best options
1 Like