View Single Post
Old 06-16-2015, 11:33 PM   #152
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,526
Default

dasombre, try this lua script

Code:
retval, retvals_csv = reaper.GetUserInputs("Number of slot", 1, "", "")
if retval ~= nil then 
str = "_S&M_ADD_TRTEMPLATE"
fstr = str..retvals_csv
reaper.Main_OnCommand(reaper.NamedCommandLookup(fstr), 0) 
end
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
mpl is offline   Reply With Quote