Select a track based on Name

Solved595 viewsCSS Questionscss script
0

I am trying to select a track based on Ableton Track name. Using Track selection I can find ways to specify the Track Number and use Relative.

Alternatively, I can figure out how to modify it directly in Python but then I feel like I lost the benefit of manageability with the Remotify UI. Maybe thats a separate question on how to manage that however. Preferably I wont have to do that, any advice here?

toneyvecchio Answered question July 9, 2025
1

You could set up a Reaction that loops through all the Tracks, then set up a Condition that checks if the name of the Track is equal to the one you want.

To have the condition check each track, you’ll have to put the loop_number as the track number inside the path menu. I can’t check it now but you might need to use Custom Code to put “loop_number + 1” as the track number because the loop_number starts at 0 but track numbering in the path menu starts at 1.

toneyvecchio Selected answer as best July 9, 2025
1

Thanks that was it – I was able to use Reaction and loops to action on a track whose name text matched a string. No integer + 1 needed as the action was able to use the Iteration Step.

For future reference for other reader:

New Mapping -> Reaction
Action Block Loop = Tracks (self.song().tracks)

Conditions: Track – Name exactly Matches
self.song().tracks[loop_number].name == “NameToMatch

Note: It defaults to tracks[0] on new condition and new action, make sure to use the grey finger pointing up icon -> Track Number -> Script -> Loop -> Loop – Iteration Number to get tracks[loop_number]

toneyvecchio Answered question July 9, 2025