top of page
- API -
colorNum,rNum,gNum,bNum = reaper.AZ_GetTrackIdColor(projID,trackID)
- API Detail-
▼Input value
projID(ReaProjct): Project ID
trackID(integer): Track ID
▼Output value
retval(boolean): Success or failure of API execution
color(integer): Track color value
r(integer) : Red value
g(integer) : green value
b(integer) : Blue value
- SCRIPT -
package.cpath = package.cpath .. ";"..reaper.GetResourcePath() .."/UserPlugins/?.dll"
require("reaper_AZSTOKE_SILVER")
function Msg(param)
reaper.ShowConsoleMsg(tostring(param).."\n")
end
colorNum,rNum,gNum,bNum = reaper.AZ_GetTrackIdColor(0,1)
Msg(colorNum)
Msg(rNum)
Msg(gNum)
Msg(bNum)
TRACK
AZ_GetTrackIdColor
Supported versions:
1.0.3
onwards
Get the color value for the specified track ID
bottom of page