Could anybody create a script for changing the peak view with my mousewheel? I know its a bit PT-ish but I like it
Nevermind, got it:
Code:
function Msg(param)
reaper.ShowConsoleMsg(tostring(param).. "\n")
end
function main()
local is_new_value,filename,sectionID,cmdID,mode,resolution,val = reaper.get_action_context()
--Msg(val)
if val == 0 or not is_new_value then
else
if val > 0 then reaper.Main_OnCommand(40155, 0)
else reaper.Main_OnCommand(40156, 0)
end
end
end
reaper.ShowConsoleMsg("")
main()
reaper.UpdateArrange()