Macro to select between 2 markers
Hey,
Im looking to make a simple macro that can select the start and end markers of a song. I always number the start marker with 100 and the end marker with 200. To do this manually you press the commands [.100.] and then [.200.] on the number pad but whilst holding shift.
Any ideas how to make a macro/script that can do this? Any help greatly appreciated.
Thanks!
Joe.
- Chris Shaw @Chris_Shaw2022-08-25 18:28:31.203Z2022-08-25 21:24:36.245Z
This should do it.
Just change the values for thememLocation
constants to the memory locations you want to use:const memLocation1 = 100 const memLocation2 = 200 sf.ui.proTools.memoryLocationsGoto({ memoryLocationNumber: memLocation1 }) sf.ui.proTools.memoryLocationsGoto({ memoryLocationNumber: memLocation2, extendSelection:true })
Chris Shaw @Chris_Shaw2022-08-25 18:45:06.322Z
@Kitch - something like this should be part of the official PT package
Ben Rubin @Ben_Rubin
there is "select between markers", "extend to previous/next marker" in the official pro tools package under "memory locations". less specific than what the OP is looking for. I have a macro that does "select between markers" and then invokes the edge tool. handy for changing sections of automation.
- JIn reply toJoe_Kearns⬆:Joe Kearns @Joe_Kearns
Amazing!
thanks so much Chris,
works perfect!