Is there a way to find out what the last keyboard button press was and to populate that to a variable?
Use case: I'd like to track which of the number buttons were pressed last. From a single macro I'd like to trigger on each of the ten digit buttons. When the macro is triggered I'd like it to populate a variable with which button was pressed. I'd also like that pressed button to be sent to the application.