Struggling to activate a macro depending on the value of a variable

Hello.

I've been trying to set up a "Prompt with List" to set a variable

and then use that variable value to then activate specific macros

For Example

Prompt List:
Red
Blue
Green

(I Select Green)

If Variable = Green
Then Activate Macro "Trees"

If Variable = Red
Then Activate Macro "Lava"

If Variable = Blue
Then Activate Macro "Sky"

I don't want to make lots of If then else actions as the macro would be very long

Thanks

I hope this makes sense

Let me know if it doesn't

You can use a single Switch Case Action instead of multiple If Then Else Actions.

Click to Show Image

1 Like

Thank you!

Very Helpful.

I also found the trigger macro by name works very well.