How do I send CMD H using a Logitech M35 Mouse

How would I set up a Logitech Mouse M35 to send a CMD H to hide the window..

I was hoping to be able to click on a window with the right and left mouse button and have it hide the window.

I am trying to set up depressing the scroll window in the middle to send a CMD H

17 days without a response. Is what I am asking just not possible or is it just a Noob question that no one is interested in answering