Jump to content
deanishe

Star Ratings: Rate your files like in iTunes

Recommended Posts

Alfred Star Ratings

View and set star ratings for your files.

demo.gif

Star ratings (like in iTunes) are a great way to categorise and organise your files. Unfortunately, you can 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.


Download & installation

Download the workflow from GitHub releases or Packal. Double-click the downloaded .alfredworkflow file to install it.


Usage

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.


Licensing, thanks

This workflow is released under the MIT licence.

It relies on the following open-source resources:

  • The icon is from Font Awesome by Dave Gandy (SIL licence).
  • biplist by Andrew Wooster for parsing/generating binary plists (licence).
  • Alfred-Workflow by me, a library for writing Alfred 2 workflows (MIT licence).

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...