[OS X TeX] desktop icons of tex files

Herbert Schulz herbs at wideopenwest.com
Fri Jan 20 15:20:39 CET 2012


On Jan 20, 2012, at 4:50 AM, RA Friedrich Vosberg wrote:

> Morning.
> 
> Would it be possible to change the color of the desktop icons of the tex files?
> 
> I'ld like to have them in F4FCBC. This is the background color as I have defined in the Preferences panel of TeXShop. It would be very nice if I could distinguish immediately between DOC and TEX files on the desktop from the corner of my eyes simply by color.
> 
> Perhaps it is possible.
> 
> Kind regards, Friedrich

Howdy,

You can, of course, set a color for individual files by using a Label in Finder's File->Label (set the colors you want in Finder->Preferences->Labels). Then write an Applescript Macro that tells Finder to look for all files with .tex extension and set that Label for them. You could even set up the Desktop folder so that Macro is executed whenever that folder is accessed. (I haven't don't anything like this in a very long time and don't remember the exact procedure. I also am terrible with Applescript.)

Another, more adventurous thing, would be to create a custom tex.icns file with the color you want and substitute your icns file for the one in TeXShop. Not for the squeamish!

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the macostex-archives mailing list