Wednesday, April 27, 2011

Add fonts to the built-in Stickies widget

The built-in Stickies dashboard widget lets you use a few Apple-selected fonts, but the selection doesn't have very many options. I wanted a way to add other fonts to the Stickies widget. By adding two lines to the code that supports the widget, you can add any font on your computer.


It may be helpful to have some knowledge of HTML and JavaScript, but the procedure is simple enough that you should be able to do it even if you don't have experience with those languages.

The first step is to make a copy of the widget so you're not working on the original. Go to /Library/Widgets and find Stickies. Copy it and paste it into ~/Library/Widgets and name it something else, like StickiesWithFonts.

Close the Stickies widget in your Dashboard; you won't be needing that version anymore.

Next, we begin modifying the code. You'll need a good text editor like TextWrangler ...

Add to digg Add to Reddit Add to Slashdot Email this Article Add to StumbleUpon

Source: http://feeds.macosxhints.com/click.phdo?i=51bedfaf608e7dc9ca45e3f12743ca73

macnn app store macnn apple tv news apple inc news articles apple tech news apple news release apple sale

No comments:

Post a Comment