top of page
- API -

isConnected = reaper.AZ_P4_Connect(uri, userName, password)

- API Detail -

▼入力値

  • url(string) : サーバーurl

  • userName(string) : ユーザー名

  • password(string) : パスワード

▼出力値

  • isConnected(boolean) : 接続されたかどうか

AZ_P4_Connectを実行後、スクリプトの終了までにAZ_P4_Disconnectを実行してください


※本APIを使用する場合、Perforce P4をインストールする必要があります

- SIMPLE SCRIPT -

dofile(reaper.AZ_GetLuaInitPath())                

require("reaper_AZSTOKE_GOLD")                


url = -- perforceサーバーのurl            

userName = --ユーザー名 

password = --パスワード


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

depotPath = -- デポ上のパス


isConnected = reaper.AZ_P4_Connect(url, userName, password)

Msg("接続: " .. tostring(isConnected))


if isConnected then

  

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


    ShowObject(fileList)


 reaper.AZ_P4_Disconnect()


end



Perforce

AZ_P4_Connect

対応バージョン:

1.3.0

以降

Perforceサーバーに接続

bottom of page