-- MIDI Grid: shift all notes one cell left, refusing if any would be lost 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, false)