If the reset functionality is exposed as a plugin parameter, it might be pretty easy to just set the parameter with ReaScript. (The plugin probably then automatically toggles the reset parameter back to zero to detect the next reset, but if it doesn't, the script could probably do that also.)
If the reset function is just a GUI button, it's going to be much more tricky. You would need to send a fake mouse click into the plugin, which is difficult because plugins generally (like in 99.9% of cases) don't use operating system provided GUI controls, so you can't programmatically find them (and their position) from the plugin's window.
__________________
I am no longer part of the REAPER community. Please don't contact me with any REAPER-related issues.
Last edited by Xenakios; 10-16-2019 at 07:14 AM.
|