function msg(m)
return reaper.ShowConsoleMsg(tostring(m) .. "\n")
end
lastDetailsOut = -1
function GetMouseCursorDetails()
windowOut, segmentOut, detailsOut = reaper.BR_GetMouseCursorContext()
if lastDetailsOut ~= detailsOut then
retval, inlineEditor, noteRow, ccLane, ccLaneVal, ccLaneId = reaper.BR_GetMouseCursorContext_MIDI()
msg("cc lane: " .. ccLane) -- should be 0x208 (520) for 'Notation Events' lane
msg("\n")
end
lastDetailsOut = detailsOut
reaper.defer(GetMouseCursorDetails)
end
GetMouseCursorDetails()
This currently results in '-1' for the Notation events lane.
Reminder. https://forum.cockos.com/showpost.php?p=2079929&postcount=2
Test script:
This currently results in '-1' for the Notation events lane.