Star Ratings

An Alfred Workflow

Short Description

View and set ratings for your files and folders

Last Updated

20 Dec 2015


Mountain Lion
Snow Leopard
Yes Yes Yes Yes Yes



Bundle ID



Alfred Star Ratings

View and set star ratings for your files in Alfred 2.

Workflow demo animation

Star ratings (like in iTunes) are a great way to categorise and organise your files. Unfortunately, you can't access them directly in Finder, but Smart Folders (aka Saved Searches) do support them.

Combine 'em to get quick access to your favourite ~~porn~~ Oscar-winning movies. Goes great with my Smart Folders workflow.


This workflow works primarily via Alfred's File Actions. It uses Alfred's main window to display the ratings of the files you have selected in Finder, but they are altered via File Actions.

In particular, if you just want to rate some files (rather than see their ratings), you should select them in Finder and directly call Alfred's File Actions mode with ⌥⌘+\ (default Alfred hotkey).

From Alfred's main window

  • .r — Grab the files currently selected in Finder and display them with their ratings. This is attached to a Hotkey, which you can assign (Alfred strips Hotkeys from workflows when you install them). Feel free to change this keyword, but you probably want to choose something unique (i.e. it doesn't match any of Alfred's default results), so the File Buffer is easy to use.

    • (default Alfred hotkey) — Show File Actions for selected result.
    • ⌥+↑ (default Alfred hotkey) — Add result to File Buffer.
    • ⌥+↓ (default Alfred hotkey) — Add result to File Buffer and move selection to next result.
    • ⌥+→ (default Alfred hotkey) — Open File Actions for all files in the File Buffer.

From Alfred's File Actions window

Entering the number of stars you wish to assign (e.g. 0, 1, 2 etc.) should show the corresponding action. The action to clear the rating is called "Clear Star Rating", so typing clear should show that action.


If you have any questions or problems, open an issue on GitHub or post in the Alfred Forum thread.

Licensing, thanks

This workflow is released under the MIT licence.

It relies on the following open-source resources: