File Action Triggers

File Action triggers are added to your result actions list, so that when you select a file in Alfred, you can perform a custom action on it.

Creating a File Action Trigger

By default, Alfred will always show your custom action in the list of available result actions, unless you specify the file types for which you want your action to appear.

For example, if your action is only relevant to images and PDFs, you can drag individual files (a jpg, a png and a gif file) to add their types. Alternatively, you can add the ContentTreeType (+public.image for all types of images).

The file action trigger can then be connected to an object that will perform the relevant action.

File Action Trigger

Once created, your action will show up in the Result Actions pane when selecting files of the relevant types.

File Action Example

Latest Blog Post:

The Spacebar Trick: Searching Quickly in Alfred

CacheFly Campaign Monitor

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

Terms & Conditions, Privacy Policy, Cookies.