Script to select the tracks of a session box without the folded tracks.

169 viewsCSS Community Scriptscss script fold group SCRIPT
1

Hello everyone. I’m trying to modify the Highlight navigation script that can be found in the forum so that it only selects the visible tracks of the Box session but it’s impossible. I use modifiers but nothing works. If I group tracks and fold the group, the folded tracks are still selected. Thank you in advance for your help.

Glenn Verhaeghe Answered question September 29, 2024
1

Hi,

Here’s a script with 2 Reactions that should let you navigate through Visible Tracks only.

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.

Other option

For someone else on the forum I also made Reactions to navigate through all Tracks with that Folds and Unfolds Group Tracks as the navigation encounters them. If that’s functionality you want, you can find it in this Community Post.

How the code works

The code gets the Current Track Object and finds its position inside the list of Visible Tracks.
Then the code adds or subtracts 1 (depending on which way you’re navigating) to this position, takes that New Track object and searches for the New Track’s position in the list of Tracks (meaning the list of all tracks).
With this New Track’s position acquired, the code can select the New Track.

The Code

Moving Left

Moving Right

gwen971 Posted new comment September 29, 2024

Thanks !!!!!!!

Impossible to open file…. error data in the json file !!

0

Thanks for letting me know. I’ll re-upload the file with this comment.

Just for info: I also had the error when I downloaded upload from my previous post, but when I imported the same file that was still on my computer, it worked fine. Somewhere during the uploading, the file got corrupted.

gwen971 Posted new comment September 30, 2024

Hi
I’m coming back to you because following your script it gave me an idea for a more interesting and practical script for me. If you could watch I would be very grateful. THANKS
https://community.remotify.io/questions/question/script-to-assign-a-modifier-to-a-track-based-on-its-name/