top of page

import sys

sys.path.append(RPR_GetResourcePath() + r"\UserPlugins")

from AZSTOKE_SILVER_python import *


def Msg(parm):

    RPR_ShowConsoleMsg(str(parm) + "\n")


retval,inputList = AZ_GetUserInputList("AZWavList",1,"Path :","D:\\")    

retval,fileList = AZ_GetFilePathList(inputList[1],"wav")


for i, value in enumerate(fileList, 1):

    Msg(value)

- SCRIPT -

retval,fileList = AZ_GetFilePathList(pathStr,searchStr)

- API -

ID

FILE/FOLDER

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 *Python does not support direct input of Japanese.

  • 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