Tell me more ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

How can I set a label on a folder with a keyboard shortcut from the finder?

share|improve this question

2 Answers

  1. Use +I when the folder is selected.

    This will bring up the Get Info box. Once you expand the section General, it will be already be expanded the next time you trigger the info box.

  2. I've searched "MacOSX Hints" for tips and found this which also refers to this:

    With Lion you can add a toolbar icon to label a folder with just one click.

enter image description here

share|improve this answer
1  
I think this is probably the best way of doing it. I just tried adding a shortcut (via System Preferences) but it seems the Label: menu entry is special one, so can't be bound to a key. – mjturner Feb 13 '12 at 12:10
I can't seem to set the label using only my keyboard. I still have to move the mouse to the General section and set it there. It seems like this would be more of a hassle than right clicking and setting it that way. – Kit Sunde Feb 13 '12 at 12:11
@KitSunde Yeah, I wonder what a solution using only the keyboard would look like. After all, you still need to choose a color. – gentmatt Feb 13 '12 at 12:26

I've used FastScripts to assign shortcuts to AppleScripts like this.

try
    tell application "Finder"
        repeat with f in items of (get selection)
            try
                set label index of f to item 1 of {2, 1, 3, 6, 4, 5, 7}
                -- 2 = red, 1 = orange, ..., 7 = gray, 0 = none
            end try
        end repeat
    end tell
end try
share|improve this answer
How do you apply this? Do you need to set a custom shortcut that launches the script? – gentmatt Feb 14 '12 at 7:36
1  
@gentmatt With FastScripts you'd just save the scripts in ~/Library/Scripts/Applications/Finder/ with an app like AppleScript Editor and then assign shortcuts in its preferences. Another option would create Automator services with just a Run AppleScript action, set them to be available only in Finder, and then assign shortcuts in the Keyboard preference pane. – Lauri Ranta Feb 14 '12 at 10:47

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.