Right now I'm getting them from act function
Code:
mnu_arr[-3][mouse_act-1].lbl
but that has prefix JS:,VST: etc. probably because of that its not converting. I am reading them from table but this is the populating function:
Code:
local function get_fx()
mnu_arr[-3] = {}
if sel_track then
local cnt_fx = reaper.TrackFX_GetCount(sel_track)
for i = 1, cnt_fx do
local _, name = reaper.TrackFX_GetFXName(sel_track, i-1, "")
mnu_arr[-3][i-1] = {["lbl"] = name, ["act"] = i}
end
end
end