I know we can set the left/right locator position to cursor, but I’m talking about whether the locator as a fixed range can be commanded to start at the cursor position?
If using the ‘left locator to cursor’ option, this won’t maintain the fixed range of the existing locators.
Use case: trying to build a macro that can automatically insert silence of locator range duration, but at a new cursor position.
Hi, I’m not aware of such out-of-the-box process, however there are two ways to workaround things.
I always use the commands Nudge→Loop Range Left/Right in order to move the range to the position I want. I know this is not the same as your request but it’s a way to do things.
There is a second option by using MIDI Remote scripting:
The API exposes the cursor position plus the cycle left/right positions, while giving us the option to set the time of these three host values. Thus we can calculate the cycle duration, and when setting the left locator (to the cursor position as requested), set the right locator to (cursor position)+(calculated time of range).