top of page
- API -
colorNum,rNum,gNum,bNum = reaper.AZ_GetRandomColor()
- API Detail-
▼Input value
▼Output value
- retval(boolean): Success or failure of API execution
- color(integer) : Color value
- SCRIPT -
function Msg(param)
reaper.ShowConsoleMsg(tostring((param)).."\n")
end
color = reaper.AZ_GetRandomColor()
Msg(color)
reaper.AZ_SetTrackIdColor(0,0,color)
color = reaper.AZ_GetRandomColor()
Msg(color)
reaper.AZ_SetTrackIdColor(0,1,color)
color = reaper.AZ_GetRandomColor()
Msg(color)
reaper.AZ_SetTrackIdColor(0,2,color)
NUMBER
AZ_GetRandomColor
Supported versions:
1.0.3
onwards
Get a random color value
bottom of page