unfold / fold  a track in hightlight navigation and navigate into group

294 viewsCSS Community Scriptsfold group midi SCRIPT unfold
1

Hello

I use 2 buttons to navigate in the tracks, one button which increments to move to the right in the tracks and another button to move to the right in the tracks

The problem is that when I position myself on a track with folder groups, the track does not ungroup
I can’t navigate the group’s tracks

Is it possible that once I position myself on a track the track ungroups and that I can navigate inside from right to left?

Thank you in advance for your response

Greetings

The HumaniZer Edited question September 29, 2024
1

I recreated your Increment/Decrement Mappings and think I now understand the difficulties you’re having.

When navigating through the Tracks, if you encounter a Folded Group Track, then you won’t be able to navigate further (e.g. when going Left and there’s a Folded Group Track to the left, you won’t be able to select that Group Track, or any other Tracks further to the left, while using the Highlight Navigation Mapping).

Then my guess is that you’ll need another way to navigate through the Tracks because the Highlight Navigation Mapping doesn’t go well together with Grouped Tracks.

Alternatively, I could alter my Reaction so that it checks if the Track on the left of the current Highlighted Track is a folded Group Track. If it is a Folded Group Track, then it unfolds that Track.

I think I’ll try making that alternative option first, so that you don’t have to change your increment/decrement Mappings.

Video Example

As for now, here’s a video of an example set I made in Ableton to test the Reaction and Mappings with:

  • The first 2 Tracks in the set (purple) are individual Tracks
  • then there are 3 Group Tracks (red, Blue, green) that each have 3 Tracks inside them;
  • at the rightmost end there are another 2 individual Tracks (brown).

In the first 22 seconds, I show that clicking the Grouped Tracks unfolds them, and that clicking a Track that is not part of the group folds the last unfolded group Track again.

Starting from second 23, I use Highlight Navigation to navigate through the Tracks (like you would). When going to the right (incrementing) everything works as intended, meaning that when going from the Red Group to the Blue Group, the Red Group is folded again and the Blue Group unfolds.

It’s not really visible in the video but at 30 seconds the Highlight is in the unfolded Blue Group and when trying to go left (decrementing) to the folded Red Group, nothing happens, no matter how many times I press left.

My theory about why this happens is because the Mapping decrements 1 from the Highlighted Track’s position, but because this next Track is not visible (because it’s in a folded Group), the Highlighted Track doesn’t change. Meaning that, the next time the Mapping tries to decrement from the position of the current Highlighed Track, it will just do the same thing over again.

At 46 seconds in the video, you’ll see that when I navigate left from the unfolded Red Group to the Purple individual Track, it does work as intended, meaning that the Red Group folds back up again and the Purple Track gets selected.

The HumaniZer Posted new comment September 25, 2024

it is very difficult to realize what you want to do in ableton with this kind of script unless you illustrate it well

Glad to see this was able to help you

Yes indeed I navigate left or right in the tracks using the Scroll function in Remotify

By incrementing or decrementing

So I don’t know it’s possible in the same way with a Highlighted track

Is a Highlighted track interpreted by the script or by Albeton as a Selected track? that’s a good question

By incrementing or decrementing

I do not directly select a track

You are viewing 1 out of 4 answers, click here to view all answers.