top of page
- API -

fileList = reaper.AZ_P4_ExportAudioToProject(workspace, depotPath, toDir, extension, toProjectDir)

- API Detail-

▼Input value

  •  workspace(string) : workspace name
  •  depotPath(string) : The path to the depot
  •  toDir(string) : Destination folder (optional, default: Perforce_rev_{revision number})
  •  extension(string) : Extension (optional, default: wav)
  •  toProjectDir(boolean): Whether to create in the media folder (optional, default: true)
  • excludeList(StringArray) : Exclusion list (optional, default: empty)

 ▼Output value

  •  fileList(StringArray): List of output files

※ To use this API, you must install Perforce P4.

※ You must create a workspace beforehand.

- SCRIPT -

dofile(reaper.AZ_GetLuaInitPath())                

require("reaper_AZSTOKE_GOLD")                

                

url = -- perforceサーバーのurl            

userName = --ユーザー名 

password = --パスワード


workspace = -- ワークスペース名

depotPath = -- デポ上のパス


if reaper.AZ_P4_Connect(url, userName, password)  then

  

    fileList = reaper.AZ_P4_ExportAudioToProject(workspace, depotPath, "",  -1, "wav", true)


    ShowObject(fileList)


    reaper.AZ_P4_Disconnect()


end

Perforce

AZ_P4_ExportAudioToProject

Supported versions:

1.3.0

onwards

デポの音声ファイルをプロジェクトファイル配下に出力

bottom of page