select markers lane with edit selection in shuffle mode
By Jonathan Grossman @Jonathan_Grossman
I am doing a bunch of edits to a session by selecting all tracks and removing sections with shuffle mode. I know you can manually shift+click on the markers lane so the markers follow the edit. Is there a way to have the markers lane automatically be selected with the edit selection. When doing a zillion of these types of edits, it really slows down the process having to constantly click that lane manually. Thanks!
- Joe Costable @Joe_Costable
Just made this- It will shift-click the marker lane based on the position of add marker button then hits delete. So I make my selection, run the command and done.
Because I may jump to slip mode quick and forget to go back to shuffle, I now have it also check to see if I'm in shuffle mode, and if not, select shuffle.//Check to see if you're in shuffle mode var shuffleBtn = sf.ui.proTools.mainWindow.editModeCluster.shuffleModeButton.invalidate(); var isSelected = ![ sf.ui.proTools.mainWindow.editModeCluster.slipModeButton, sf.ui.proTools.mainWindow.editModeCluster.gridModeButton, sf.ui.proTools.mainWindow.editModeCluster.spotModeButton, ].some(btn => btn.value.invalidate().value === 'Selected'); if (!isSelected) shuffleBtn.elementClick(); //Shift-click marker lane based on position relative to add marker + button sf.ui.proTools.mainWindow.buttons.whoseTitle.is("Add Marker/Memory Location").first.mouseClickElement({ relativePosition: {"x":496,"y":0}, anchor: "MidCenter", isShift: true, }); sf.keyboard.press({ keys: "backspace", });