Thursday, April 24, 2008

Widgets and the defaults command

You can use the defaults command (from Terminal.app) to learn more about the options of a Widget.

Example: defaults read widget-com.apple.widget.translation
gives:
{
    "41a9b19e2d5c5543-fromLanguage" = 3;
    "41a9b19e2d5c5543-toLanguage" = 5;
    fromLanguage = 3;
    toLanguage = 5;
}

Found it in Dashboard-dev mailing list.

No comments: