What trigger was used to activate a macro?

I have a macro with two triggers for activating. Is there a way to pass on to the macro which of the two triggers was used? It would be a better approach than making two macros with one trigger each.

You can use the TriggerValue token:

37-pty-fs8
[demo] TriggerValue.kmmacros (2.8 KB)

3 Likes

Here's an ACTION you can insert into your Macro after the selected Action to give you a bit more info:

ACTION: Display Macro Trigger Information

Display Text.kmactions (1.4 KB)

2 Likes