reaper-oss / sws

The SWS extension is a collection of features that seamlessly integrate into REAPER, the Digital Audio Workstation (DAW) software by Cockos, Inc
https://www.sws-extension.org/
MIT License
455 stars 85 forks source link

FR - mouse context over notation editor #1043

Open bFooz opened 6 years ago

bFooz commented 6 years ago

Currently, function reaper.BR_GetMouseCursorContext() does not recognize anything from notation editor.

juliansader commented 6 years ago

Unfortunately, I don't think it will be possible for SWS to add this feature, since scripts and extensions don't have access to all the required information, such as MIDI items that are editable or visible in the editor.

However, REAPER itself has all the mouse context information at hand, and even displays it in the top left corner of the editor. So it should be pretty easy for the Justin/Schwa to simply make this information available to scripts. I submitted such a FR almost two years ago: Reascript: Function to return mouse pitch and PPQ position in notation editor