Jump to content

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).
Link to comment
  • 6 years later...

I really like your workflow but sadly it has stopped working for me. I went to https://www.alfredforum.com/topic/17941-making-python-2-workflows-work-on-macos-monterey-123-and-above/? do=findComentario&comentario=94471 , but although I got answer from @vitor  the workflow still doesn't work . Do you have any solution. Thank you very much

Edited by 2pilvic
Link to comment
43 minutes ago, vitor said:

 

That doesn’t help to figure out the issue. What exactly were your steps? What happened? More importantly, what does the debugger say?

I don't know if this screenshot will help (I don't have any computer skills). Thanks for your time.

Screenshot 2022-04-13 at 14.07.53.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...