top of page
- API -

dofile(reaper.AZ_GetLuaInitPath())

require("reaper_AZSTOKE_SILVER")


soloIncludeString = "_en"


trackList = reaper.AZ_GetTrackItemList(0)

reaper.AZ_SetTrackAllSoloOFF(0)


for i, value in pairs(trackList) do

name = reaper.AZ_GetTrackItemName(value)

check = reaper.AZ_CheckIncludeString(name, soloIncludeString)

if check == true then

reaper.AZ_SetTrackItemSolo(value,true)

end

end

- API Detail-

Naming the track

*Please understand the partial match range and name accordingly.

- SCRIPT -

dofile(reaper.AZ_GetLuaInitPath())

require("reaper_AZSTOKE_SILVER")


・Make Silver API available


soloIncludeString = "_en"


・Set the partial match string to be soloed and assign it to soloIncludeString


trackList = reaper.AZ_GetTrackItemList(0)


- Assign all tracks in the specified project to the trackList array


reaper.AZ_SetTrackAllSoloOFF(0)


- Set all solos to OFF


for i, value in pairs(trackList) do


・For loop for the trackList array


name = reaper.AZ_GetTrackItemName(value)


-Get the name of each track and assign it to name


check = reaper.AZ_CheckIncludeString(name, soloIncludeString)


・Check if name contains soloIncludeString and assign bool to check


if check then


・If check is true, execute the following


reaper.AZ_SetTrackItemSolo(value,true)


・Set solo to tracks that pass the check


end

end

- SCRIPT -

Track

AZSTOKE_TrackNameIncludeStringsSoloSetting

Set track name to Solo when partial match is detected

01_BRONZE_ss_edited.png
01_SILVER_edited_edited.png
03_GOLD_edited_edited.png
bottom of page