top of page
- API -
reaper.AZ_SetTrackItemColor(track,color)
- API Detail-
▼Input value
track (MediaTrack): track item
color(integer) : Color value
▼Output value
retval(boolean): Success or failure of API execution
- SCRIPT -
dofile(reaper.AZ_GetLuaInitPath())
require("reaper_AZSTOKE_SILVER")
color = reaper.AZ_GetRandomColor()
Msg(color)
track = reaper.AZ_GetTrackItemSelect(0,0,0)
reaper.AZ_SetTrackItemColor(track,color)
TRACK
AZ_SetTrackItemColor
Supported versions:
1.0.0
onwards
Set the color of the specified track item

bottom of page


