You can edit S&M.ini in your AppData folder to get more of those kinds of actions usually up to 99. There's (some) instructions in the file itself.
I think SWS is in low gear at the moment. Here's a step towards what you describe anyway. I think it might be possible to do something more advanced that would take changing configurations into effect, but haven't figured it all out personally. (The numbers change) I think the second two things you mention should be possible with actions. So you would put the script in a custom action along with the regular actions too.
"Get" the code to paste in the other scripts:
Code:
// display input code for first selected track.eel
trk = GetSelectedTrack(0, 0);
trk ? (
InputNum = GetMediaTrackInfo_Value(trk, "I_RECINPUT");
ShowConsoleMsg(sprintf(#,"%{InputNum}i\n"));
):(MB("SELECT A TRACK!!!", "input code number", 0));
Some examples of "Set" the code:
Code:
//set selected tracks input to Audio 1.eel
input = 0;//paste it in place of 0
cst = CountSelectedTracks(0);
us = cst;
Undo_BeginBlock2(0);
loop(cst,
SetMediaTrackInfo_Value(GetSelectedTrack(0, cst - 1), "I_RECINPUT", input);
cst -= 1;
);
#u = sprintf(#,"Set %{us}i tracks input to Mono 1");
Undo_EndBlock2(0, #u, -1);
Code:
//set selected tracks input to Audio 2.eel
input = 1;
cst = CountSelectedTracks(0);
us = cst;
Undo_BeginBlock2(0);
loop(cst,
SetMediaTrackInfo_Value(GetSelectedTrack(0, cst - 1), "I_RECINPUT", input);
cst -= 1;
);
#u = sprintf(#,"Set %{us}i tracks input to Mono 2");
Undo_EndBlock2(0, #u, -1);
Code:
//set selected tracks input to Audio 1 and 2.eel
input = 1024;
cst = CountSelectedTracks(0);
us = cst;
Undo_BeginBlock2(0);
loop(cst,
SetMediaTrackInfo_Value(GetSelectedTrack(0, cst - 1), "I_RECINPUT", input);
cst -= 1;
);
#u = sprintf(#,"Set %{us}i tracks input to Stereo 1/2");
Undo_EndBlock2(0, #u, -1);
Code:
//set selected tracks input to sl mkII all channels.eel
input = 4192;
cst = CountSelectedTracks(0);
us = cst;
Undo_BeginBlock2(0);
loop(cst,
SetMediaTrackInfo_Value(GetSelectedTrack(0, cst - 1), "I_RECINPUT", input);
cst -= 1;
);
#u = sprintf(#,"Set %{us}i tracks input to SLmkII all");
Undo_EndBlock2(0, #u, -1);
edit- S&M.ini is probably here.
C:\Users\you\AppData\Roaming\REAPER
edit it when REAPER's off.