Hi All,
I'm working on a new macro where after I split a audio file I want it to select the first region or the region to the left of the split. Is there a command for this?
Thanks, Marc
- OOwen Granich-Young @Owen_Granich_Young
I've personally only found SHIFT+L key command, which is the inverse of Shift+Tab. However Key commands are not as rombust as other options so somebody else might be able to help you with a better option. And I'll certainly be watching here too.
Bests,
Owen - MIn reply toMarc_Bazerman⬆:Marc Bazerman @Marc_Bazerman
Thanks Owen, I'll give it a try if no other suggestions come up.
- AIn reply toMarc_Bazerman⬆:Andrew Sherman @Andrew_Sherman
I'm not sure if this is helpful, but Samuel came up with a good solution for something similar; you may be able to edit this as a starting point.
How to select all clips after the current selected clip on a specific track - In reply toMarc_Bazerman⬆:Christian Scheuer @chrscheuer2021-10-26 16:01:45.122Z
Hi Marc,
You can use
selectionGet
andselectionSet
(...InSamples) actions to restore and recall selections (the InSamples versions operate sample accurately). If you do a search for this you should see some examples :)Christian Scheuer @chrscheuer2021-10-26 16:02:38.617Z
For example, you could use this to get the selection before you make the split, then get the selection (position) after the split, and then combine the selection start of the original selection with the selection end of the new position. That would be sample accurate (if you use selectionGetInSamples and selectionSetInSamples, respectively) and would be stable.
- MMarc Bazerman @Marc_Bazerman
Thanks Christian,
I have it working with a combination of other 2 suggestions. If that starts giving me problems, I'll explore this as well.
Thanks everyone!