Yeah great!
anyway here is the function for activate on release (that I've constantly put in new versions)
Code:
function on_release()
if mouse_act then
if string.sub(mouse_act, 1, 4) ~= "menu" and mouse_act ~= '' then
reaper.Main_OnCommand(mouse_act, 0)
end
end
end
Code:
mnu_clicked = mouse_mnu % (#mnu_arr[cur_depth] + 1)
mouse_act = mnu_arr[cur_depth][mnu_clicked].act ----------- here
if mouse_r < ((cur_depth == 0 and mnu_arr[0][0].lbl ~= "") and 48 or 16) then mnu_clicked = -1 end