okay, now that I'm over that hurdle, I'd like to actually change it to the track color. I've tried this, in the main method:
Code:
local trackColor = reaper.GetTrackColor(tr)
GUI.Msg("color"..trackColor)
--GUI.elms.frm_track.color = "red"
--GUI.color("frm_track", "red")
-- If we don't have a track, hide the track elements
-- and pop up a warning
The first commented line doesn't work, the second crashes the script. What syntax should I be using here?
I am getting track colors okay, looks like.
Reading further, looks like I need a table of values. But not sure what the reaper method is giving me. It's not showing up as hex in the console....