Needs SWS Extensions installed.
Simple script to toggle showing or hiding an instrument relating to the selected track. If the track is a MIDI track that sends MIDI to a track with an instrument then it shows the instrument on that track.
So works with the standard workflows of having single track instruments or using something like Kontakt with lots of MIDI tracks sending MIDI to one Kontakt track.
I have it assigned to
Ctrl + Alt + I, which is interesting because IIRC the keybind needs to have an Alt or whatnot so that when the instrument is open and focused the keycommand is passed through to REAPER to close it. Otherwise the VSTi can eat it.
Oh, some MIDI plugins are VSTis, so to stop the script showing them there is a
blacklist of partial names of those plugins you can add to in the script.
Show or Hide Instrument.lua (2.5 KB)