top of page

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

require("reaper_AZSTOKE_SILVER")


function Msg(param)

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

end

retval,colorNum,rNum,gNum,bNum = reaper.AZ_GetTrackIdColor(0,1)

Msg(colorNum)

Msg(rNum)

Msg(gNum)

Msg(bNum)

- SCRIPT -

retval,colorNum,rNum,gNum,bNum = reaper.AZ_GetTrackIdColor(projID,trackID)

- API -

対応バージョン:

1.0.0

以降

TRACK

reaper.AZ_GetTrackIdColor

Get the color value for the specified track ID

- 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

bottom of page