API
beforePath = reaper.AZ_SetProjectInfoRecPath(proj, path)
API Detail
▼入力値
| 引数 |
説明 |
型 |
必須/任意 |
デフォルト値 |
proj |
対象プロジェクト(0 で現在のプロジェクト) |
ReaProject |
必須 |
- |
path |
設定する録音保存先パス |
string |
必須 |
- |
▼出力値
| 戻り値 |
説明 |
型 |
失敗時の値 |
beforePath |
設定前の録音保存先パス |
string |
空文字 |
▼想定エラー
| 発生条件 |
エラー |
エラーコード |
| パスが保護対象の場合(パス制限) |
ProtectedPath |
119 |
| パス制限の設定ファイル(path_policy.yaml)が不正な場合 |
PathPolicyInvalid |
120 |
SIMPLE SCRIPT
dofile(reaper.AZ_GetLuaInitPath())
require("reaper_AZSTOKE_SILVER")
proj = 0
path = "C:/Rec/Session01"
beforePath = reaper.AZ_SetProjectInfoRecPath(proj, path)
Msg(beforePath)
API
beforePath = AZ_SetProjectInfoRecPath(proj, path)
API Detail
▼入力値
| 引数 |
説明 |
型 |
必須/任意 |
デフォルト値 |
proj |
対象プロジェクト(None で現在のプロジェクト) |
ReaProject |
必須 |
- |
path |
設定する録音保存先パス |
string |
必須 |
- |
▼出力値
| 戻り値 |
説明 |
型 |
失敗時の値 |
beforePath |
設定前の録音保存先パス |
string |
空文字 |
▼想定エラー
| 発生条件 |
エラー |
エラーコード |
| パスが保護対象の場合(パス制限) |
ProtectedPath |
119 |
| パス制限の設定ファイル(path_policy.yaml)が不正な場合 |
PathPolicyInvalid |
120 |
SIMPLE SCRIPT
import sys
sys.path.append(RPR_GetResourcePath() + r"/UserPlugins")
from RIGDOCKS_python import *
from AZSTOKE_SILVER_python import *
proj = None
path = "C:/Rec/Session01"
beforePath = AZ_SetProjectInfoRecPath(proj, path)
Msg(beforePath)