top of page
- API -
reaper.AZ_SetTrackItemColor(track,color)
- API Detail-
▼Input value
track (MediaTrack): track item
color(integer) : Color value
▼Output value
retval(boolean): Success or failure of API execution
- SCRIPT -
function Msg(param)
reaper.ShowConsoleMsg(tostring((param)).."\n")
end
color = reaper.AZ_GetRandomColor()
Msg(color)
track = reaper.AZ_GetTrackItemSelect(0,0,0)
reaper.AZ_SetTrackItemColor(track,color)
TRACK
AZ_SetTrackItemColor
Supported versions:
1.0.3
onwards
Set the color of the specified track item
bottom of page