Use modifier on mouse toggle software

As title says, I’ve got myself a Logitech mouse which has quite a few options to customize. I’d rather get away from AHK and Keyboard so I’d like to match the modifiers SHIFT, ALT, CTRL to mouse buttons.

I cannot find a way to simulate the holding down the modifiers and pause the actual macro in the Logitech Software. Either on hold mouse button or on toggle. Probably on toggle would be better.

I’m not sure if the AHK script can be translated in some way into the scripting section of the Logitech G Hub.

Watch Reruns of WoW Lazy Macros Creator (Lutechi) Live @ 11PM EST