[SOLVED] excluding hidden session box tracks from selection

503 viewsGeneral
0

here is the code for selecting session box tracks excluding any hidden tracks.

the code works well with one exception. If the session box is moved to the right and it includes return tracks, then the selection jumps back to track 1.

I am working on it, by trying to limit the right movement of the session box to the last avaiable track (personally I do not need to include return tracks in my session box).

So far I attempted this condition (I have also attached the test for this trial) :

self.get_sessbox_last_track_number() <= (self.get_num_of_tracks("tracks") - self.get_num_of_tracks("return_tracks"))

but this produces a syntax error.

admin Changed status to publish May 22, 2024