No internet connection
  1. Home
  2. How to
  3. Pro Tools

Repeat "Press Keys" command up until marker

By Paul Macheck @Paul_Macheck8
    2024-11-22 00:20:37.631Z2024-11-22 00:29:18.194Z

    Hey!

    I just started using SF and was wondering if there's a way to repeat the "Press Key" command up to a specific marker or end of a clip? The macro itself is really really simple but currently, I either have to stop it manually or let it run through 100 repetitions, which isn’t ideal.

    Here's a copy of the script:

    sf.keyboard.press({
        keys: "tab, p, comma, v, semicolon, tab",
        repetitions: 100,
        fast: true,
    });
    

    cheers,
    Paul

    • 0 replies