Jump to content

How to Workflow: If Chrome is active "Launch Safari" otherwise "Launch Chrome"


Ben100

Recommended Posts

Trying to just make a shortcut to launch Chrome but if it's active, launch Safari (Launch = If app is running then activate its window, same behaviour as "Launch Apps/Files")

 

I couldn't find easy way to answer "Is Chrome window currently focused/active"

Link to comment
On 9/28/2020 at 11:46 AM, deanishe said:

 

If you use an Alfred Hotkey to run your workflow, it can set a variable with the bundle ID of the currently-active app.

 

 

Thanks! I'm ashamed to admit I didn't know "Related Apps" had this functionality - I can just make 2 separate hotkeys and have each active or inactive based on chrome:

 

 

Untitled.png

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...