Selected Track Listener in Reactions

2.09K viewsGeneral
0

Most of the problems i have so far with trying to do my template for touchosc with CSS comes from the fact that when i try to use “selected_track” to create a listener in a reaction it seems that it only works for the currently selected track when the script is initialized.
For exemple creating a reaction with “Track’s name value has changed” (self.song().view.selected_track.add_name_listener) works fine but only for the track selected on init().

Is this a bug or the intented behaviour ?
would like to know.
Thanks!

admin Changed status to publish
Attached Files:
0

Hi John!

Selected track works for all the controls i use in my template (volumes, mutes, sends…) but not when used as a listener for example when the selected track name has changed.
It works only for 1 track, the one selected on init() and if i add a new track to the session like you said it updates but then it only works for the newly created track.

admin Changed status to publish
You are viewing 1 out of 5 answers, click here to view all answers.