- Script Code -
dofile(reaper.AZ_GetLuaInitPath())
require("reaper_AZSTOKE_SILVER")
require("reaper_AZSTOKE_GOLD")
fullPath = reaper.AZ_SetResoucePathFolder("AZData//Render",0)
cancelType,inputList = reaper.AZ_GetUserInputList("SaveData",1,"FileName:","Render_a001")
if cancelType then
render = reaper.AZ_GetRenderSetting(0)
jsonStr = reaper.AZ_Json_Serialize(render)
reaper.AZ_WriteFile(fullPath,inputList[1]..".txt",jsonStr,0)
end
- Warm Up -
- Script Detail -
dofile(reaper.AZ_GetLuaInitPath())
require("reaper_AZSTOKE_SILVER")
require("reaper_AZSTOKE_GOLD")
・Settings to enable Silver and GOLD
fullPath = reaper.AZ_SetResoucePathFolder("AZData//Render",0)
・Create a folder called AZData//Render and assign the full path information to fullPath.
cancelType,inputList = reaper.AZ_GetUserInputList("SaveData",1,"FileName:","Render_a001")
・Provide a text box for the user to specify the render file name.
if cancelType then
render = reaper.AZ_GetRenderSetting(0)
・Get the current render settings and save them to render
jsonStr = reaper.AZ_Json_Serialize(render)
・Convert array information to a string and assign it to jsonStr
reaper.AZ_WriteFile(fullPath,inputList[1]..".txt",jsonStr,0)
・Save render data as text in resource folder
end