How to change default file icon (.srt & .lrc) in Mountain Lion?

Discussion in 'OS X Mountain Lion (10.8)' started by jakobkraft, Oct 9, 2013.

  1. jakobkraft macrumors newbie

    Joined:
    Oct 9, 2013
    #1
    Is there a way to change the default icon for a specific file in Mountain Lion? I know about Candybar but that seems to only work on files that the system has already allocated a specific icon to. I want to change the default icons of certain files based ONLY on their extension.

    Basically, .srt and .lrc files are my problem. They don’t automatically have the same icon ( whether I use Textedit or TextWrangler as default app doesn’t matter) as standard .txt files. They just have that annoying grey square as an icon, which is for files that the OS basically doesn’t recognize even though they’re just text files with different extensions.TextEdit is already set as default app for .srt and .lrc files, but that doesn't change their icon, as it would in Windows.

    Is there a way to get .srt and .lrc files to have the same default icon as .txt files? I know how to change them individually (via the ‘GetInfo’ window and then just copying and pasting the little icon at the top) but I don’t want to have to do that EVERY time. I have A LOT of .srt and .lrc files, so it would just be nightmarish to have to do that.
    I also know about the info.plist file in the actual app package, but I don’t know much about tinkering around in there.
    Any help with this would be greatly appreciated – thanks!!
     
  2. JCPH macrumors member

    Joined:
    Aug 11, 2007
    Location:
    Tannhäuser Gate
    #2
    Ignoring Candybar, doing it manually or tinkering with the info.plist, my only other thought is that you might be able to set something up in Automator (but I doubt the right 'actions' exist already). Maybe someone has written a script for this but a cursory search of mine found nothing. You may have to fire up Xcode and code it yourself. Good luck.
     

Share This Page