I assigned output pin connector for selected FX by ReaScript as below.
Code:
reaper.TrackFX_SetPinMappings(track, idx, 1, 0, 4, 0)
reaper.TrackFX_SetPinMappings(track, idx, 1, 1, 8, 0)
But, when I opened I/O pin connector panel for that selected FX after excuting this script, I found the output range of pin connector was not expanded like this.
So, I cannot access output channel 3/4.
To solve this by ReaScript, what function do I need?