Increment variable counter with arrow key

Is there a way to increment the numeric value of a variable by 1 every time I hit the keyboard's down arrow?
At the same time if I hit ENTER, the variable will be read and its value used in subsequent actions.

Thank you!

Yes, very easily:

I'm not sure what your intended use case is here, or if you want this to be part of the same macro or separate macros, but as long as you use the same variable for the actions triggered by Enter, you don't have to do anything special to read the variable:

1 Like

You need to make sure this macro's group is only available for THAT application otherwise it will activate everywhere