-- MIDI Grid: shift all notes one cell left even if some leave the item local dir = ({ reaper.get_action_context() })[2]:match("@?(.*[\\/])") local G = dofile(dir .. "midigrid_lib.lua") if not G.isActive() then return end G.runShift(-1, true)