top of page

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,1,0)

retval,colorNum,rNum,gNum,bNum = reaper.AZ_GetTrackItemColor(track)

Msg(colorNum)

Msg(rNum)

Msg(gNum)

Msg(bNum)

- SCRIPT -

retval,colorNum,rNum,gNum,bNum = reaper.AZ_GetTrackItemColor(track)

- API -

対応バージョン:

1.0.0

以降

TRACK

reaper.AZ_GetTrackItemColor

Gets the color value of the specified track item.

- API Detail-

▼Input value

  • track (MediaTrack): track item

▼Output value

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

  • color(integer) : Color value

  • r(integer) : Red value

  • g(integer) : green value

  • b(integer) : Blue value

bottom of page