top of page
- API -
colorNum,rNum,gNum,bNum = reaper.AZ_GetSelectedTrackIdColor(projID,selectTrackID)
- API Detail-
▼Input value
projID(ReaProjct): Project ID
selectTrackID(integer): Select track
▼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_GetSelectedTrackIdColor(0,0)
Msg(colorNum)
Msg(rNum)
Msg(gNum)
Msg(bNum)
TRACK
AZ_GetSelectedTrackIdColor
Supported versions:
1.0.3
onwards
Get the color value for the specified selected track ID
bottom of page