top of page

os = reaper.GetOS()

if "Win" == string.match(os,"(Win)") then

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

else

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

end

require("reaper_AZSTOKE_SILVER")


function Msg(param)

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

end


item = reaper.AZ_GetMediaItemSelect(0,0,0)

retval,trackList = AZ_SILVER.AZ_GetIncludePerfectTrackNameList(0,"AZ")


for i, value in pairs(trackList) do

   _,name = reaper.AZ_GetTrackItemName(trackList[i].Track)

   Msg(trackList[i].Index)

   Msg(name)

end

- SCRIPT -

retval,trackList = AZ_SILVER.AZ_GetIncludePerfectTrackNameList(projID,checkName)

- API -

対応バージョン:

1.0.0

以降

TRACK

AZ_SILVER.AZ_GetIncludePerfectTrackNameList

Array output of partially matching track items with the same name

- API Detail-

▼Input value

projID(ReaProject): Project ID

checkName(string) : For searching tracks with the same name (partial match)


▼Output value

retval(boolean): Success or failure of API execution

trackList(table) : Track array with the same name (partial match) .Track/.Index

bottom of page