This script shows how to make a selection between two markers based on their memory location number.
Linked from:
- Christian Scheuer @chrscheuer2018-06-15 19:25:51.438Z
function selectBetween(no1, no2) { sf.ui.proTools.memoryLocationsGoto({ memoryLocationNumber: no1, restoreWindowOpenState: true, useKeyboard: true, }); sf.ui.proTools.memoryLocationsGoto({ extendSelection: true, memoryLocationNumber: no2, restoreWindowOpenState: true, useKeyboard: true, }); } selectBetween(1, 4);
Mike Wax @mikewax
Is there any way to make this work by using marker NAMES instead of number? I always use the same names for my markers, but sometimes they're not in the same position.
I tried changing the
selectBetween(1, 4)
toselectBetween("START", "END")
but it said it was invalid.Christian Scheuer @chrscheuer2020-10-11 22:24:08.710Z
Hi Mike,
Please open a new topic for this, otherwise your question may get lost as this one is marked as resolved :)
Mike Wax @mikewax
Will do Thank you!
- OIn reply tochrscheuer⬆:olafnoise @olafnoise
could it be possible to make a selection between previous and next marker at the cursor position?
this would be very helpful to select a shot to spot an ambience for instance
thanksChristian Scheuer @chrscheuer2020-01-09 18:54:57.411Z
Hi @olafnoise - yes this is already a built in function :)
Ctrl+Shift+M with default SoundFlow Triggers - the command is called "Select Between Markers" and is in "Pro Tools -> Memory Locations"Christian Scheuer @chrscheuer2020-01-09 18:55:36.868Z
I have a script that trims a background to between the markers and creates fades on both sides plus opens up the EQ and output window on the track so one can set a preliminary volume and pan.
- Oolafnoise @olafnoise
great!
is this script in a package yet?
thanks