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)

 ▼Output value

  •  fileList(StringArray): List of output files
- SCRIPT -

dofile(reaper.AZ_GetLuaInitPath())

require("reaper_AZSTOKE_GOLD")


url = -- perforce server url

userName = -- username

password = -- password


workspace = -- workspace name

depotPath = -- path on depot


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

Copy the audio file to the project file

bottom of page