Your shopping cart is empty.

Track Color Index

Submitted by mamajuana on Sun, 07/03/2022 - 18:11
mamajuana
Control Surface Studio User

Hello!
in Reactions when you choose to use the track color index options.
is this tag and options correct?
pls check the attachment image.
thanks

Topic Category: 

3 Responses

Comments

mamajuana
Control Surface Studio User
#1

should be the track color index integer not text?

John C
Forum Admin
#2

It does indeed seem to be an integer.

Have you tried switching your condition to 'custom code' then removing the quotation marks around the number, like this:
self.song().tracks[0].color_index == "4"
Change to
self.song().tracks[0].color_index == 4

If it really is a number then the condition should work without the quotations.. I will try this too when I get a moment.

John C
Forum Admin
#3

I just tested this and yes you're correct, color index is an integer.

I will get this updated for the next release (likely to be 2.7.1).
In the meantime, you can do what I mentioned above, switch the condition to custom code and remove the quotation marks, that will treat it is an integer.