fl_call
Call a single FL Studio scripting API function in the running app to read or change one open-project value, such as a parameter name or mixer level, and return the result.
Instructions
Call one function of FL's scripting API inside the running FL and return what it returns: {ok, value} or {ok: false, error}. For a single read or change, e.g. a parameter name or a mixer level of the open project. Use fl_exec for several calls or logic; use project_read and project_write for anything the .flp file holds, which need no FL. A setter changes the open project as an edit by hand would; nothing is saved. Needs FL open; it is not started for this.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fn | Yes | module.function as FL's API names it, e.g. 'plugins.getParamName' | |
| args | No | its positional arguments, e.g. [0, 5, -1] |