Hi, I want to push a MIDI button and output a keystroke that ascends a number. I’m doing a copy/paste rename that pastes the name and auto-numbers the names with an ascending number at the end of them. So I make my z0 variable =1, then I want first press sends the number 2, second press #3 etc.
I mean the first button copies the text and assigns z=1.
The paste button will have the ascending numbers on it.
The rules will be z0=z0+1. (But Don’t see where I can apply z0 as a keystroke)
Pushing the copy button again will reset the flag back to the value 1.
I’m not seeing any place to input variables for keystroke output. ?
Find the attached.
Preset 0 - Initializes the project
Preset 1 - has the triggers that set gc to a given value
Preset 2 - Sets application focus and sequences the digits
Preset 3 - Send the digits
This example can go up to 999 as defined in the rules of translator 1.1 for note input. The value of gc is the number value that needs to be sent.
Translator 1.0 converts MIDI 0-127 to digits.
I use a Perform Action to focus on notepad.exe before sending the digits.