top of page
- API -

fileList = reaper.AZ_GetFilePathList(pathStr,searchStr)

- API Detail-

▼Input value

  • pathStr (string): Search folder path ※Lua can be written in Japanese as is

  • searchStr(string): Specified file format *”wav”

▼Output value

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

  • fileList(table)(string): Array output of information for each path

- SCRIPT -

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

require("reaper_AZSTOKE_SILVER")


function Msg(param)

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

end


fileList = reaper.AZ_GetFilePathList("F:\\script\\test","wav")


for i, value in pairs(fileList) do

Msg(value)

end

FILE/FOLDER

AZ_GetFilePathList

Supported versions:

1.0.3

onwards

Outputs the file path list of the specified folder path as an array

bottom of page