One click to deactivate one track and hide this same track

Please do a double function in one click to deactivate one track and hide this same track.

You can create your own command for that in a macro:

(It says audio, but works for all track types.)

Thanks Steve.