Repeat keystroke until conditions met


I would like to create a macro that works like this:

  • Capslock or other defined key is pressed one time for activating the macro;
  • macro starts to repeat/press a key (example 2) every defined ms (milliseconds);
  • macro is stopped when Capslock or other defined key is pressed another time.

I didn't find a configuration that can do this.

Thanks for the help

I think key repetition works like this: It repeats a key or a key combination (shortcut) as long as these keys are pressed. And ends when the keys are released.

But theoretically you can create/start a macro that repeats something as long as you want. For example every 0.6 seconds a new tab in Chrome.