No internet connection
  1. Home
  2. How to

How to Set Shuffle Mode To Locked

How can I force Shuffle Mode to Locked?

Solved in post #2, click to view
  • 4 replies
  1. This is not super easy to do because of the way Pro Tools reports the value of the Shuffle button, but this should do:

    const { shuffleModeButton, slipModeButton } = sf.ui.proTools.mainWindow.editModeCluster;
    slipModeButton.elementClick();
    if (shuffleModeButton.value.invalidate().value !== "Selected") {
        shuffleModeButton.mouseClickElement({ isCommand: true });
    }
    
    Reply1 LikeSolution
    1. Hmm...on my system this sets it to Slip Mode.

      1. Yea it should set it to Slip mode and lock the Shuffle if the shuffle isn't already locked.
        We need to actively set it to either Slip, Grid or Spot as part of the operation due to the way Pro Tools handles shuffle mode.

        1. Of course. Got it! It's working perfectly. Thanks!