top of page
- API -

reaper.AZ_SetTrackItemRGB(track,rNum,gNum,bNum)

- API Detail-

▼Input value

  • track (MediaTrack): track item

  • r(integer) : Red value

  • g(integer) : green value

  • b(integer) : Blue value

▼Output value

  • retval(boolean): Success or failure of API execution

- SCRIPT -

package.cpath = package.cpath .. ";"..reaper.GetResourcePath() .."/UserPlugins/?.dll"

require("reaper_AZSTOKE_SILVER")


function Msg(param)

reaper.ShowConsoleMsg(tostring(param).."\n")

end


track = reaper.AZ_GetTrackItemSelect(0,0,0)

reaper.AZ_SetTrackItemRGB(track,250,5,0)

TRACK

AZ_SetTrackItemRGB

Supported versions:

1.0.3

onwards

Set RGB of the specified track item

bottom of page