Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.4: Change the Stickies widget's default settings System 10.4
Tiger only hintI like the Stickies widget, but I don't want a yellow page and that horrible 18-point Marker Felt font as the default. It took a bit of tinkering, but I found what to change:

Make a backup of the Stickies widget (in /Library/Widgets) first, in case you make a mistake. Open Stickies.js inside the Stickies widget (Control-click on the Stickies widget and select Show Package Contents), and in the first set of variables, change find var autofont = true; and change true to false. This will override the huge 18-point text. Next, find the function loaded () string (about 3/4ths of the way down the document) and change the gCurrentFontSize from 18pt to whatever you prefer (I chose 10px). Also change the gCurrentFont to your preferred font. Save and close the new JavaScript file.

Open Stickies.css and change the background image URL in the first line to your favourite colour background image (located in the Images folder of the package). Also change the font attributes in the .auto-div section (beneath the backgound image line) to your favoured size and typeface. That's it for the CSS file, so save and close.

Next open the Stickies.html file and find the var font and var size lines, and change the Marker felt and 18px to what you want. Save this and close.

If you test the progress of the Stickies widget in the Dashboard, you should find that the default font and size have changed, but when you drag the sticky out of the dashboard, the background is still yellow until last minute. This can be changed by replacing the image Default.png file found in the root package folder with one of the images from the Images folder.

[robg adds: I haven't tested this one...]
  • Currently 1.60 / 5
  You rated: 2 / 5 (5 votes cast)

10.4: Change the Stickies widget's default settings | 3 comments | Create New Account
Click here to return to the '10.4: Change the Stickies widget's default settings' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Change the Stickies widget's default settings
Authored by: delGrey on May 17, '05 10:48:34AM

Am I missing something here? Why not just click on the info button and change the sticky colour, font and its size?

[ Reply to This | # ]
10.4: Change the Stickies widget's default settings
Authored by: delGrey on May 17, '05 11:00:50AM

Sorry, I just realised it's the default settings being changed. Still, can't say it bothers me overmuch.

[ Reply to This | # ]
10.4: Change the Stickies widget's default settings
Authored by: rich13 on May 18, '05 07:23:41AM

Because Stickies doesn't remember this.

Each time you create a new note, it goes back to the default setting, which isn't editable (unless you go round the back and change the files...)

I was doing this very thing last night - and it's possible with all Widgets. It's a great way to see how they work, and make changes if you want to :-)

(yes, yes, keep a backup!)

[ Reply to This | # ]