GetUserInput breaks with commas
X-Raym opened this issue · 2 comments
X-Raym commented
Hi,
GetUserInput breaks with ,
.
Here is a demo:
dofile(reaper.GetResourcePath().."/UserPlugins/ultraschall_api.lua")
local captions = {}
local defaults = {}
for i = 1,7 do
captions[i] = "A, B"
defaults[i] = "A, B"
end
found,count,userInput = ultraschall.GetUserInputs("Bank Settings",captions,defaults,120)
ultraschall.ShowLastErrorMessage()
Thx !
X-Raym commented
Ouch just saw this in the doc
- no commas allowed!
I was certain this ultrashall UserInput was meant for bypass this limitation, and used JS_ReaScriptAPI extension an null character as separator for that... Is it something which recently break or am I completely mistaken ?
Anyway, having commas available would be very nice. Especially since I started to put ultrashall UserInput into one of my script to solve this exact issue 😄
(Im ok with no comma in description, but in fields it is problematic).
mespotine commented
fixed and lifted this limitation :)