How to abbreviate,a lot IF

It's a BINGO, I want to Confirm winning.

Try this:
Multiple value of a var in If Then Else Action (v9.2)

If Then Else.kmactions (807 B)

edit: scroll down for a better solution...

5 Likes

Can be used thanks

Actually, this will also match 55, 550 etc.

Here's another approach that also doesn't work. Can someone point out my error?
image

1 Like

Your approach is great. It was just lacking the multiline flag.

IF variable is in a list THEN.kmactions (805 B)

see:
https://wiki.keyboardmaestro.com/Regular_Expressions

1 Like

But you can use any separator to make it simpler :slight_smile:

IF variable is in a list THEN .kmactions (804 B)

edit : just funny to find that regex was not needed in this case...

1 Like

Both comments are excellent @Joseki Thanks for the tips!