I'm currently working on an accessibility script (
Thread here) that shall play a sound, when a certain Reaper state has been met(in this case Ripple All=true, Play/Rec=false).
For now, I try to make this using JS-extension, where I have Xen_StartSourcePreview to play the sound and it works great.
However, this means, that such an accessibility-script needs JS-extension as dependency to be installed, which might not be wanted by the user or it's too difficult for less experienced users to install an extension.
So I wanted to ask for a native exposure of the various Preview-functions, that the CPP-only functions have, including a way to preview a PCM_source.
That way, I could write a bunch of accessibility-scripts using sounds to warn of things, that run on vanilla Reaper without having to tell the users to install anything additional.
I would also like to ask for a native function, that allows setting the mouse-cursor to a position, so I could write scripts like "Move Mousecursor to Trackname-field of Track 1" so clicking to enter a trackname could be done easily without having to look for the input-field.
Osara does a lot of mouse-positioning to assist accessibility-usage in different areas so I would like to be able to make this happen as well natively, especially for my own gfx-scripts having a gui(JS_Mouse_SetCursor allows setting mousecursor, but again, dependencies...).
The dependency on an extension for file-preview or mouse-moving is something, why I currently shy away from writing such scripts, though I have tons of ideas that I would like to attempt.
So if you could add such functions natively to ReaScript-API, this would be really awesome.