Jump to content
vitor

LabelColor — Sets a label color for selected files and directories

Recommended Posts

 

File action to set the label color for the chosen files and directories.

 

Use Alfred to pick what you want to apply (or remove) a label to and pick Label… as the action, or use the keyboard shortcut. Alfred’s main window will appear and you simply select an option or type to filter the color’s name.

 

hCXjmBD.png

 


Download | Source

If on Alfred 2, download this one.


Based on
labelcolor

Edited by vitor

Share this post


Link to post

Dear Vitor,

 

I'm on Mac OSX Mountain Lion, installed your Workflow but can't seem to get it working!

When typing "label" it autocompletes to "labelcolor ". When typing further "labelcolor yellow" and hitting enter the file that's currently selected doesn't get the label applied.

 

What am I doing wrong here?

Share this post


Link to post

Dear Vitor,

 

I'm on Mac OSX Mountain Lion, installed your Workflow but can't seem to get it working!

When typing "label" it autocompletes to "labelcolor ". When typing further "labelcolor yellow" and hitting enter the file that's currently selected doesn't get the label applied.

 

What am I doing wrong here?

 

You’re not supposed to type the command, just the color. This is to be used as a file action, which means you select the files, then press the file action hotkey (I think the default is Cmd+Opt+\), and select “Label” — the text “labelcolor” will appear, and you just type the color. Also, see my next post, there’s an update that can make this easier.

Edited by Vítor

Share this post


Link to post

I use this workflow a lot, thank you for making it. I have a feature request: I think it would be good if it was possible to select color by writing the first letter, .e.g. "r" for "red". The workflow is great as is but that feature would allow to set the label even faster (at least for me, since I can't seem to remember the keyboard shortcuts and want to set the label instantly).

Edited by cands

Share this post


Link to post

Update.

 

Use a List Filter instead of a Script Filter. Made some code improvements to the underlying script. New icon.


To update, download the latest version (same URL) or wait a few days (15 or less) and it’ll prompt you to on next usage, since it uses OneUpdater.

Share this post


Link to post

Update.

 

It’s technically faster and smaller, though it’s unlikely you’ll notice. This is mostly to bring it in line with its script. I’ve also done some cleanup.


To update, download the latest version (same URL) or wait a few days (15 or less) and it’ll prompt you to on next usage, since it uses OneUpdater.

Share this post


Link to post

I've been using this workflow so much, it's very helpful to organize files, thank you for making it. I wonder, now that (since a while) macOS has support for the more powerful feature Tags (which also will be supported by iOS if I understood correctly) - would it be possible to further develop this workflow to be able to assign tags? I realize that it is probably more complex... I would try to build such a workflow myself but my programming skills are not so good. For me, and hopefully for others, it would be very useful since I don't know of any other really convenient way to assign tags (especially since I mainly use Path Finder instead of Finder).

Edited by cands

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...