Automation Tasks series: Using the "Quit All Except" Action

Alfred's Automation Tasks are the non-coder's secret weapon.

With 231 Automation Tasks at your fingertips and more being added regularly, you can create powerful workflows with little to no need to know how to script or code anything!

We've created a series of 3 posts to help you discover a few of the ways you could use Automation Tasks as building blocks to speed up your work.

Completely new to workflows?

Take a look at our Getting Started Guides, which will show you how to connect, configure and use workflow objects, the canvas and palette.

In this first post, we'll create a workflow to quit all apps on your Mac except for a few select ones. This is a great way to quickly settle into a focused work environment by quitting all unnecessary distractions.

Setting up your workflow

This workflow consists of only two objects; A Keyword Input and an Automation Task.

Workflow for Quit All Except

The Keyword object is configured with:

  • The keyword quitx
  • The Argument dropdown is set to No Argument
  • A Title: Quit all apps except Safari and Mail
  • Optional subtext for clarity (or alternative actions, more on that later)

Keyword object configuration

For the Automation Task, we'll select the task Quit All Apps, with Exceptions from Core Automation Tasks > macOS.

In this example, we'll keep Safari and Mail open by typing their app names in. We'll also ensure that Alfred and Finder are checked so that they continue to run in the background.

Automation Task configuration

Customisation Tip:

You can add different apps to the "Do Not Quit" list to suit your preferred work habits.

We can now test the workflow by typing quitx into Alfred to trigger the workflow.

Adding an Alternative Action: Leisure Mode

Life isn't just about work, right? To wrap up this workflow, we'll add an alternative action to the same keyword.

Connect a second Automation Task from the Keyword object; We'll set this AT to use the Quit Apps task from Core Automation Tasks > macOS, and set the app names that relate to work, such as XCode and Slack.

Set an alternative action by double-clicking the circle halfway down the connection between the Keyword and second Automation Task. This brings up a configuration panel for the connection.

We'll choose as our modifier key, and set the Subtext to "Leisure mode activated!"

Alternative action

After saving your change, pop up Alfred, type quitx but instead of just pressing (Return), hold the key first. You'll notice the subtext changes to our alternative path. Pressing while holding will trigger this alternative path and quit all your work apps.

That's it, you've created a workflow with two Automation Tasks!

What's next? Take a look at how to extract text from an image with OCR text recognition.

In the third post from this series, you can learn to use Automation Tasks to merge images into a PDF file.

Alfred 5.7: Ready for macOS 26 Tahoe

Apple have announced that macOS 26 Tahoe is due to be released today, Monday 15th September. In preparation, we’ve released Alfred 5.7, which is available now for download through in-app update or from alfredapp.com.

Alfred 5.7 has been tested on macOS Tahoe throughout the beta versions and works flawlessly, so you can upgrade to the latest macOS with confidence that you’ll be able to use Alfred with it right away.

In this release, we’ve overhauled the built-in macOS System Settings search, so there’s no longer a need to use a workflow for this. Just ensure that “Preferences” is checked in Features > Default Results.

You can find the full list of improvements and fixes in the Change log.

Themes to match the new look

Embrace the frosted look with new dark and light themes, echoing the rounded corners and glassy features of Tahoe.

Download the Frosted Dark Glass Alfred Theme

Download the Frosted Dark Glass Alfred Theme

Download the Frosted Light Glass Alfred Theme

Download the Frosted Light Glass Alfred Theme

Alfred themes are easy to customise, so you can tweak sizes, colour scheme, fonts and more to fit your style.

A few tips when upgrading or installing a new version of macOS

A new macOS release is a good time to start or refresh your backups, whether you use Time Machine or another backup method of your choice.

If you want to only back up your Alfred preferences, you can use our Preferences Backup workflow to make sure you never lose your carefully crafted preferences.

When installing macOS from scratch on a new Mac, remember that your Mac will need a moment to build the file index on which Alfred relies on, so allow an hour or two after installation for macOS to sort itself out.

Alfred Corporate Licensing: Boost your team's productivity!

Did you know that we offer Alfred corporate licensing for teams?

Alfred's Corporate Licensing scheme is used by companies around the world, from small teams to multinationals, supporting their everyday activities.

Imagine making your whole team was as productive as you are with bespoke workflows, internal custom searches and all of the great tools that make your day to day more efficient!

Here are the few key points you can share with your team leader:

  • Alfred's corporate licensing is not a subscription; We use a simple per-Mac activation system, making it easy to share Macs amongst your team.
  • Your privacy and security matters; Your data is yours, Alfred doesn't track your searches and doesn't share your usage data with us.
  • Bulk activations purchase; Volume discounts range from 10% to 40% for larger purchases.
  • Top up any time; Self-service checkout to purchase more activations when needed. Unused activations don't expire, and can be banked for later use.

Our Alfred corporate licensing scheme keeps it easy for team leaders to administer, so that you can ultimately all be more productive and enjoy working on your Macs.

Use Alfred History to Unburden Your Brain

Alfred's history features can help lighten the load on your brain and do the remembering for you. Here are three ways you can store your favourite sites' URLs, copied clip items and more.

Query History

Alfred can store the last 20 queries you've typed, and show the latest query automatically if you typed it less than 5 minutes ago.

This is particularly useful when you're making calculations, hide Alfred then continue adding to your equation.

Query History preferences

Enable Query History in Alfred's Preferences > Advanced > History.

Clipboard History (and Snippets)

Once you start using Clipboard History, you simply can't go back! Alfred saves text clips, links, images and file paths as you copy them.

Pop up the Clipboard Viewer - the default hotkey combo is C - then type a few letters to narrow down to the results you want, or scroll down for recently copied items.

Alfred Clipboard History Viewer

Enable Clipboard History in Alfred's Preferences > Features > Clipboard.

Bonus tip: Do you search for the same clipboard item often? Save it as a snippet by using the S shortcut on the item in the Clipboard Viewer.

Snippets can be synced between your Macs and backed up for longer-term use.

Alfred's URL History

After you've opened URLs once in Alfred, your favourite sites will be remembered so that next time you can just type a few characters. No setup, no keywords or hotkeys to remember.

URL History

Accessing the same services and sites often, why not create a custom search?

Enable URL History in Alfred's Preferences > Features > Web Search > URLs / History.

Your Data is Secure and Private

You'll notice that these history features need to be enabled manually. Why? For your privacy and security. In an era where your data is so rarely yours, we give you the choice whether you want to store your query history.

Furthermore, this data isn't synced to the cloud or sent to us. It's simply stored locally on your Mac for your use only.

Get started with Alfred's History features and lighten the load on your memory!

A short Alfred comic by Debbie Ohi

Over the years, Alfred has made his way into pop culture in unexpected ways; Once as the $2000 question on Jeopardy, frequently spotted on the screens of keynote presenters preparing their slides, as well as in Minecraft where community members made a giant bowler hat with Alfred's classic purple ribbon.

Most recently, author, illustrator and community member Debbie Ridpath Ohi shared her own take on Alfred in comic form. Of course, we wanted to share it with you!

Comic by Debbie Ridpath Ohi

Latest Blog Post:

Polishing Alfred's Onboarding Experience

CacheFly Campaign Monitor

"Alfred" is a registered trademark of Running with Crayons Ltd. ©2026 Running with Crayons Ltd. All rights reserved.

Terms & Conditions, Privacy Policy, Cookies.