top of page
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)
- SCRIPT -
colorNum,rNum,gNum,bNum = reaper.AZ_GetRandomColor()
- API -
ID
NUMBER
reaper.AZ_GetRandomColor
対応バージョン:
1.0.0
以降
Get a random color value
LUA
- API Detail-
▼Input value
▼Output value
- retval(boolean): Success or failure of API execution
- color(integer) : Color value
bottom of page