- API -
retval, inputList = reaper.AZ_GetUserInputList(titleStr,inputNum,captionStr,resultStr)
- 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
- SCRIPT -
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 = reaper.AZ_GetUserInputList("AZTitle", 3, "AZ1,AZ2,AZ3","res1,res2,res3")
for i, value in pairs(inputList) do
Msg(value)
end