Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Are there any shortcuts to label a file in Finder?

The fastest way i know is to place an icon in the menubar, but it would be much better when i can do it with the keyboard.

share|improve this question

2 Answers 2

up vote 4 down vote accepted

You could make your owns, creating an Application with Automator and then assigning a Shortcut to it.

To create the Aplication just:

  1. Go to /Aplications/Automator and create a new Work Flow.
  2. Select Get Selected Finder Items.
  3. Then select Label Finder Items, and choose the color you want to label with.
  4. Save as Aplication.

Now, you could assign a shortcut to it with an application such as QuickSilver, for instance.

You could, too, create a Service in Automator, which, as Daniel points out, can get a shortcut assigned directly. This post, shows you how.

share|improve this answer
1  
Or you could create a Service in Automator, which can then be assigned a shortcut directly. –  Daniel Lawson Jun 29 '12 at 14:40
    
@DanielLawson Indeed. Thats covered in the post I link to. Perhaps I should have made that clearer. –  Thecafremo Jun 29 '12 at 14:55

I had assigned shortcuts to scripts like this in FastScripts, but I stopped using them because getting the selection does not work reliably in 10.7 or 10.8.

try
    tell application "Finder"
        repeat with f in items of (get selection as alias list)
            try
                set label index of f to item 1 of {2, 1, 3, 6, 4, 5, 7}
            end try
        end repeat
    end tell
end try
share|improve this answer
    
I tried this method but it only labels the color red, how can you cycle through the other labels ? –  Render Mar 27 '13 at 16:35
    
You have to save different scripts for each color (1 is orange, 3 is yellow, 0 is none). But they aren't really usable until Apple fixes that bug. –  Lri Mar 27 '13 at 16:46
    
What is the bug exactly ? –  Render Mar 27 '13 at 17:07
    
If you open a new Finder window and select some files, tell app "Finder" to selection refers to the second frontmost window (or desktop). It doesn't happen if you move focus to some other application and back first. –  Lri Mar 27 '13 at 17:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.