Conditionally triggering one of two macros

hey there, maybe something very obvious that I just don't grasp at the moment:
I have a km macro that I trigger from my streamdeck and I want to do a variation of this
macro when a condition is met. for example: pressing shift in addition to the streamdeck button. when I split the two macros in km and simply add the shift for one macro it sometimes triggers. the false macro… maybe due timing, not sure about it.
would it be better to combine both macros in one macro and use something like a if/else condition and how could I do it? best, johannes

Hi!

I believe something like this should work for you

If the Shift modifyer is pressed together with USB device key trigger.kmmacros (18 KB)

Alternatively you could of course place the different variations of your macros in place of each of the Execute Macro actions

2 Likes

thanks for your quick and very helpful answer, Alexander.
This solves my issue! All the best.

1 Like