Exacute a macro when a modifier + mouse is pressed/clicked?

hello, basically the topic says it.
i want to run a macro when i press let say cmd and click my mouse button?
is it possible and if yes how to achieve it…?

thanks for your help, johannes

You can use the USB Device Key Trigger. (Don't worry that it says "USB" - it also works with wireless mice).

In the Triggers section at the top of your Macro that is one of the options.
When you select that trigger and click your mouse in the section that currently says "none" it will register.
Then you will see a row of the optional modifier keys and you can choose one or more.

https://wiki.keyboardmaestro.com/trigger/USB_Device_Key

1 Like

yes thats it! thanks a lot.