os = reaper.GetOS()
if "Win" == string.match(os,"(Win)") then
package.cpath = package.cpath .. ";"..reaper.GetResourcePath() .."/UserPlugins/?.dll"
else
package.cpath = package.cpath .. ";"..reaper.GetResourcePath() .."/UserPlugins/?.dylib"
end
require("reaper_AZSTOKE_SILVER")
function Msg(param)
reaper.ShowConsoleMsg(tostring((param)).."\n")
end
retval,inputList = AZ_SILVER.AZ_GetUserInputList("AZTitle",3,"AZ1,AZ2,AZ3","res1,res2,res3")
for i, value in pairs(inputList) do
Msg(value)
end
- SCRIPT -
retval,inputList = AZ_SILVER.AZ_GetUserInputList(titleStr,inputNum,captionStr,resultStr)
- API -
![](https://static.wixstatic.com/media/fc32ca_f9681906c77e41e2bb63e2fc71e38167~mv2.png/v1/fill/w_61,h_61,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/01_SILVER.png)
対応バージョン:
1.0.0
以降
UI
AZ_SILVER.AZ_GetUserInputList
Generate default text boxes and output arrays
LUA
- API Detail-
▼Input value
titleStr (string): Window title name
inputNum(integer): Number of text boxes
captionStr(string) : Add a description for each input. ※"a,b,c,d" Enter the number of inputs with ",".
resultStr(string) : Set the initial value of the input value ※"a,b,c,d" Input number is written with ","
▼Output value
retval(boolean): Success or failure of API execution
inputList(table)(string): Outputs the input as an array