Your Answer

Modding Mac OS X by Erica Sadun

I was able to create an app for exactly what I was talking about using AppleScript and simply copying most of the Sublime support files. However, I will leave this here for people to look at. Hopefully in the future I'll make this an app on the App Store but that might take awhile. In the meantime, I'd recommend reading the code to make sure it's not malicious.


  1. Setup For yourself?
  2. Navigation menu.
  3. Apple Icon Image format - Wikipedia!
  4. How to revert back to the original icon.
  5. How to change the icon for multiple items in OS X.
  6. defaults - How to change file icon based file's extension (.txt, .cpp, .docx, etc) - Ask Different!
  7. How to change a Mac app icon.

You will then be viewing the grand total of 5 lines of code I wrote. Change "Atom" to whatever app you want to be your default. Find a file you want to change the icon of lets say a text file. Choose DefaultOpener from the list, then click change all. You will probably have to reboot and toggle the show icon preview button found in Finder 's View Options a few times for the icons to refresh and get replaced.

You can even open most them and see sublime's name all in them. There's no actual Sublime app or packages in there, just the basic support files that almost all apps have. I did this because I still don't really know how the icons are actually set.

Changing the icon

Like I said hopefully I'll be able to turn this in to a legitimate app one day instead of just a thrown together hack. And if for some reason you want to help me, please do post a comment I could use all the programming advice I can get. Sign up to join this community. The best answers are voted up and rise to the top. Home Questions Tags Users Unanswered. How to change file icon based file's extension. Open of the application's Info.

How To Create & Change Mac Icons Quickly & Easily

Modify this file in This will change the test. Since I enjoy recursion, lets try this:. Now we can open the file's Get Info dialog, click the desired, future document icon on the top left, Cmd-C to copy it, open the document file's Get Info dialog, click the undesired, current document icon on the top left, and Cmd-V to paste the icon we want.

Alternatively, you can open the image file you want to use as icon in Preview, Cmd-A to select all, Cmd-C to copy the image to clipboard.

Then open the target document's Get Info dialog, select the icon to change in the top left, and Cmd-V to paste the image over it. Skip to content. Instantly share code, notes, and snippets. Code Revisions 5 Stars 5 Forks 2. Embed What would you like to do? Embed Embed this gist in your website.

Front Page Stories

Share Copy sharable link for this gist. Learn more about clone URLs. Did not appreciate that when Apple eliminated the feature awhile ago. Just tried it and it's still the case.

How To Change ANY Icon On Mac Including EL Capitan

I wasted so much time editing icons in ResEdit. I made a radioactive Trash can once. Great article Macrumors, I really wish there could be a renaissance of icon customization like the good old days.

How to personalize your macOS desktop by replacing file and folder icons with other images

Guides Powerbeats Pro Apple's Beats brand in April unveiled the Powerbeats Pro, a redesigned wire-free version of its popular fitness-oriented Powerbeats earbuds. AirPods Guide If you're new to AirPods, considering buying a pair, or just want to pick up some new tips. Best Camera Apps iPhone If you're looking to take your iPhone photography up a notch, make sure to check these out.

See More Guides. Mac Pro Fall Apple Arcade Fall See Full Product Calendar. Apple in iOS 13 made changes to the way location tracking permissions work, and there's no longer an option for apps to ask to "Always Allow" location tracking.

Instead, Apple allows Along with many new features for the iPhone and the iPad, iOS 13 brings updates to CarPlay, overhauling the interface for the first time in years and adding useful new functionality. In our Ahead of the launch, Apple is accepting pre-orders through its online stores in Japan Apple today filed a lawsuit against Corellium, a mobile device virtualization company that supports iOS.

Corellium describes itself as the "first and only platform" that offers iOS, Android, Apple is directly or indirectly responsible for creating a total of 2. Apple says that this is four times the number of American