Set variable to something related to how the macro was triggered

I've got a macro triggered by "This USB device key is pressed". I want to add another trigger, "This USB device key is long pressed". I want to set a variable based on which specific trigger happened and use that in a conditional.

Is this possible?

See:

3 Likes

That was it, thanks! I needed %Trigger%

1 Like

When Iā€™m building or working on a macro I have a favorite action that I will use to see trigger related information. It might help you in this case as well.

Trigger Tokens Alert.kmactions (644 Bytes)

Action Screenshot (click to expand/collapse)

2 Likes

Just added to my Favorites

1 Like