top of page
- API -

trackList = reaper.AZ_GetSamePerfectTrackNameList(projID,checkName)

- API Detail-

▼Input value

projID(ReaProject): Project ID

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


▼Output value

retval(boolean): Success or failure of API execution

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

- SCRIPT -

dofile(reaper.AZ_GetLuaInitPath())

require("reaper_AZSTOKE_SILVER")


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

trackList = reaper.AZ_GetSamePerfectTrackNameList(0,"AZSTOKE")


for i, value in pairs(trackList) do

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

   Msg(trackList[i].Index)

   Msg(name)

end

TRACK

AZ_GetSamePerfectTrackNameList

Supported versions:

1.0.0

onwards

Array output of track items with the same exact name

bottom of page