10.4: Add Programming to the Unit Converter widget

Jan 24, '07 07:30:02AM

Contributed by: Skeeve

This AppleScript patches the Apple-provided Unit Converter Widget to support a new Programming category that allows you to convert between Hex, Decimal, Octal, Binary and Char (ASCII). Simply paste it into your Script Editor and click Run. (If you ask yourself what those long lists of letters are in the source -- they are a diff file and a png encoded in base64.)

You'll then have to select the location of the stock Unit Converter Widget (which should be /Library/Widgets), select where to store the enhanced widget (just click OK for your home directory), and that's it. When you see three patch messages, select whether or not to install the new widget, and then click OK to install or click Cancel to keep it where you stored it.

Update: The script has been fixed -- sorry for the error!

[robg adds: I've tested this, and it worked as described. The modified widget is stored in your user's Library -> Widgets folder, so it doesn't overwrite the original.]

Comments (11)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20070117144721628