By Steve Bissinger @sbiss2020-09-07 21:20:18.521Z
How can I force Shuffle Mode to Locked?
- Christian Scheuer @chrscheuer2020-09-07 21:25:48.648Z
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 }); }
- SSteve Bissinger @sbiss2020-09-07 21:36:11.529Z
Hmm...on my system this sets it to Slip Mode.
Christian Scheuer @chrscheuer2020-09-07 21:46:43.421Z
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.- SSteve Bissinger @sbiss2020-09-07 21:49:44.285Z
Of course. Got it! It's working perfectly. Thanks!