fl_set_plugin_param_option
Set a word-based plugin parameter (Key, Scale, Input Type) by matching its option label; sweeps the control to enumerate choices and restores prior value if no match.
Instructions
Set a parameter that shows words rather than numbers: Key, Scale, Input Type.
Use this where `fl_set_plugin_param_display` refuses. That tool searches on
a number, and an enumeration has none.
**This moves the control while it looks.** FL cannot report a control's
options, so the only way to find them is to walk the parameter across its
range and read what it displays. The requested label must exactly match an
option, ignoring case. If it does not exist, the original value is restored
before the error, and the error lists every option that was found.
The result carries `options` -- the whole enumeration, in order -- so one
call is also how you discover what a control accepts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| option | Yes | The exact option text to land on, e.g. 'A', 'Major', 'Low Male'. | |
| target | No | Explicit mixer_effect or global channel_generator target. Mutually exclusive with legacy track_index/slot_index. | |
| parameter | Yes | Parameter index, or text matched against names and displays. | |
| slot_index | No | Legacy zero-based effect slot 0 through 9. Supply it with track_index, or use target, never both. | |
| sweep_steps | No | Sweep resolution. Raise it only if an option is being missed. | |
| track_index | No | Legacy zero-based mixer index. Supply it with slot_index, or use target, never both. | |
| allow_master | No | Required to target mixer track 0. | |
| expected_before | No | Optional expected normalized value and/or exact display text; refuse if any supplied field changed. | |
| session_fingerprint | No | Optional bridge/project-session fingerprint from a recent read. The write refuses after bridge reload or a reported project load. This is a concurrency guard, not authentication or a durable project identity. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |