Make Solo into a recorded command

When I Solo a track it doesn’t get recorded into the pattern.

I got Mute covered : I add a Gainer set at -Inf dB and Midi-enable it whenever I want to mute a track. This does get recorded.