Logitech M35 Mouse - Middle Button (Press Scroll) is not triggering the Action

I wanted the middle mouse button to send a CMD H to hide the window. Set it up but not responding