Just not getting the session box right..

0

Hi all,

I’ve been struggling on and off to get the basic function of my scripts session box to work as I want.
I’m making a script for a Behringer BCF2000 and got most functions I want sorted out over multiple script, however…
The session box is what bugs me..

So the BCF has 8 motorized faders and thus I need a session box of 8 tracks wide.
Also I want my session box to only show visible tracks (so it doesn’t show tracks inside groups).
And it has to updated the fader positions whenever the session box size changes or moves.

As you can see in the attached script I got this to work with snippets I found around this community.

The last thing that I can’t seem to implement is any size adjustment for the session box.
When there’s only 1 track in my song I want the session box to be only 1 wide, when there’s 2 I want it to be 2 wide etc.
Right now the return and master channels are included in the session box until I have 8 or more tracks.
I do not want those included in my session box in the standard mode.

How do I fix this?

Everything I try with my very limited coding knowledge seems to either break the script (doesn’t show up in ableton or can not compile).
Or the other excisting functions for the session box start acting weird.

Please help me..

JohnC Selected answer as best September 2, 2025
0

Just excluding return tracks and master track from the session box would also work I suppose?
Can’t seem to figure that out either..

JohnC Posted new comment September 3, 2025

It’s not possible to exclude return tracks/master track from the session box.

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