-- MIDI Grid: next note anywhere (pass-through when grid mode is off) local dir = ({ reaper.get_action_context() })[2]:match("@?(.*[\\/])") local G = dofile(dir .. "midigrid_lib.lua") if not G.isActive() then G.passThrough("_OSARA_NEXTCHORD") return end G.runNoteJump(1)