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

296 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
2

Hello again,

Here’s the new version of the script.

It contains 2 Reactions that replace the Highlight Navigation that you had set up.

Inside the Reaction you’ll still need to do 2 things in each of them, in order for them to work:

  1. Change the Listener to the button you want to use on your Controller.
  2. In Action Block 1, change the Condition to match your button. The Condition should be “Your button’s Velocity –> is equal to –> 0”. (see picture below)
    • Action Block 1 is only necessary if you use buttons that send Momentary messages (in other words, if the button send different velocity values when pressing or releasing the button).
    • If you use a button that sends Toggle messages, then you may delete Action Block 1.
    • Action Block 1 makes Ableton exit the Reaction if you’re releasing a Momentary button.

Further Notes

  • If you run into complications using these Reactions, give a comment about it.
  • These Reactions don’t use Modifiers to store data in anymore.
  • The unfolding/folding of Group Tracks won’t work anymore when selecting Tracks with the mouse.
  • These Reactions don’t let you navigate through Return Tracks. When at the end of the Tracks list, it loops around to the first Track again, and vice versa.

Video Example

Here’s another video to see it at work.

There are now 4 Group Tracks in the video

  • Red at the beginning
  • Blue and Green in the middle
  • Black at the end

Purple and Brown are still individual Tracks (not part of a Group)

When navigation loops around from beginning to end or vice versa, the Reactions will still unfold the Groups located at the beginning or end.

The Code

…for moving LEFT

…for moving RIGHT

Glenn Verhaeghe Posted new comment October 1, 2024

Hello man

Nice Job Man
I was able to test these actions

This works for group tracks (midi or audio)

It’s really great because the group closes automatically when you go to the next track
or to the previous track, which prevents it from being a mess

However this does not work for drum rack kits

I note that the symbol is different

-a drum kit has a downward arrow

-a group has a symbol with 3 lines

There must be a difference in the script to differentiate a “track” and “drumkit”
and be able to manage both.

I didn’t account for Drum Racks, I’ll check it out.

I’ve been looking into this the last 2 days and it appears that tracks with a downward arrow (instead of the 3 lines symbol) to hide/show their contents with are not Group Tracks but are Rack Devices that contain Chains. They are handled differently:

The main Rack Device is being presented as a Track but all of its contents are not presented as separate Tracks, which means that navigation fails to recognize these contents as their own individual thing because the way navigation is set up at the moment is to navigate through the list of Tracks.

I’ll need to experiment with this for a bit before I’ll be able to present something useful. I’ll probably have something somewhere along the week.

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