Quick Question re: token in if statement

I would like to use a token in an if statement. I know I can set token to a variable and then use it in if but would like to see if I can skip the set variable step. What I want to do is to see if the %FrontBrowserWindowName% token contains a specific word.

This works:

My question is how do I skip the variable part and just test for the token.

This should do it:

Token Directly In If-Then.kmmacros (1.7 KB)

2 Likes

Thank you very much!