Now that we have touch automation, I should actually go back and check all my uses of slider_automate across all the plugins anyhow.
AFAICT, the following ways of using slider_automate work in the sense that the last touched slider becomes named_slider or slider(N) (rather than 5), though I'm not sure why.
Code:
slider_automate(named_slider = 5);
Code:
slider_automate(slider(N) = 5);
The API only documents that:
Code:
slider_automate(slider4);
or
Code:
slider_automate(2 ^ sliderindex);
should work.
Based on the API docs, I would expect the expressions in the assignment case to return "5" to automate. Though I might be thinking of this wrong and it is using pattern matching or checks whether the last assignment target is a slider identifier.