top of page
- API -

trackList = reaper.AZ_GetIncludePerfectTrackNameList(projID,checkName)

- 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

- SCRIPT -

dofile(reaper.AZ_GetLuaInitPath())

require("reaper_AZSTOKE_SILVER")


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

trackList = reaper.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

TRACK

AZ_GetIncludePerfectTrackNameList

Supported versions:

1.0.0

onwards

Array output of partially matching track items with the same name

bottom of page