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


retval,fileList = AZ_SILVER.AZ_GetFilePathList("F:\\script\\テスト","wav")


for i, value in pairs(fileList) do

    Msg(value)

end

- SCRIPT -

retval,fileList = AZ_SILVER.AZ_GetFilePathList(pathStr,searchStr)

- API -

ID

FILE/FOLDER

AZ_SILVER.AZ_GetFilePathList

対応バージョン:

1.0.0

以降

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

- 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

bottom of page