View Single Post
Old 10-02-2022, 09:42 AM   #2624
helgoboss
Human being with feelings
 
helgoboss's Avatar
 
Join Date: Aug 2010
Location: Germany
Posts: 2,185
Default

Quote:
Originally Posted by MonkeyBars View Post
Thanks for the tip! The User Guide says "For the programmers and script junkies out there" but the link to the Reaper VST Extension docs is about Extensions, not the ReaScript API.

@jamesd256 asked about accessing these functions via JS_ReaScriptAPI but Julian responded in the negative – so how can ReaScripters send JSON to ReaLearn?
Sorry, the link makes it not very obvious as it only talks about the VST plug-in side of handling things. The ReaScript function to access these named parameters is this: TrackFX_SetNamedConfigParm (https://www.reaper.fm/sdk/reascript/...amedConfigParm)

Although I use "set-state" personally only from Rust/C (for integration test purposes), it should work the same way from ReaScript. Let me know if it does. And if you need the ability to set the state using ReaLearn Script (Lua-based) instead of JSON, just comment on the FR. I think I could add that quite easily.
helgoboss is offline   Reply With Quote