Switch to application only if already open

It should be an easy thing to do but I am getting lost. I have assigned a keyboard shortcut to switch to a specific application, so far I have used the action "Activate". It works fine but the only problem is that I would like to "switch" rather than activate the app. Now because it is set to Activate than it will open the app even if it's not running. I can't find the appropriate Action for only switching to the app if the app is already active, otherwise do nothing. How do I do this?

This should do the trick:

image

Use a If Then Else action with a Application condition of "is running".

2 Likes

Brilliant, many thanks!